fix all clippy

This commit is contained in:
2023-02-17 17:51:39 +01:00
parent 0cbd1790b0
commit 6be8482b46
5 changed files with 48 additions and 48 deletions

View File

@@ -31,7 +31,7 @@ impl Generator for RustGenerator {
handlers: VisitHandlers {
visit_scalar: Arc::new({
let render = render.clone();
let common_funcs = common_funcs.clone();
let _common_funcs = common_funcs.clone();
move |t| {
println!("generating scalar");
@@ -83,7 +83,7 @@ impl Generator for RustGenerator {
}),
visit_enum: Arc::new({
let render = render.clone();
let common_funcs = common_funcs.clone();
let _common_funcs = common_funcs.clone();
move |t| {
println!("generating enum");