diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 8280e5e..e7520c7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,8 +9,8 @@ fn main() -> Result<(), itfile::Error> { { Ok(f) => { - let mut conv = convert::Converter::new(); - conv.convert(&f); + let mut conv = convert::Converter::new(&f); + conv.convert(); let mf = conv.result(); midifile::write_file("output.mid", &mf)?; Ok(()) |