mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
Clippy lints
This commit is contained in:
parent
c78177c37e
commit
c297b4ee8d
7 changed files with 16 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue