Add anonymous parameter placeholders to generated code

As of Rust 1.31, missing parameter placeholders in functions
give a compile error. This commit adds them.
master
Jos van den Oever 2018-12-09 23:45:46 +01:00
parent 325ffc2a2c
commit 319991e77f
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ pub trait {}Trait {{
false
}}
fn fetch_more(&mut self) {{}}
fn sort(&mut self, u8, SortOrder) {{}}"
fn sort(&mut self, _: u8, _: SortOrder) {{}}"
)?;
} else if o.object_type == ObjectType::Tree {
writeln!(