Clippy lints

This commit is contained in:
Henrik Tjäder 2021-12-25 13:17:16 +01:00
parent c78177c37e
commit c297b4ee8d
7 changed files with 16 additions and 8 deletions

View file

@ -32,7 +32,7 @@ pub fn codegen(ctxt: Context, needs_lt: &mut bool, app: &App) -> (TokenStream2,
None
};
let ty = &res.ty;
let mangled_name = util::static_shared_resource_ident(&name);
let mangled_name = util::static_shared_resource_ident(name);
let shared_name = util::need_to_lock_ident(name);
if !res.properties.lock_free {