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
parent
325ffc2a2c
commit
319991e77f
|
@ -558,7 +558,7 @@ pub trait {}Trait {{
|
||||||
false
|
false
|
||||||
}}
|
}}
|
||||||
fn fetch_more(&mut self) {{}}
|
fn fetch_more(&mut self) {{}}
|
||||||
fn sort(&mut self, u8, SortOrder) {{}}"
|
fn sort(&mut self, _: u8, _: SortOrder) {{}}"
|
||||||
)?;
|
)?;
|
||||||
} else if o.object_type == ObjectType::Tree {
|
} else if o.object_type == ObjectType::Tree {
|
||||||
writeln!(
|
writeln!(
|
||||||
|
|
Loading…
Reference in New Issue