diff options
author | 2023-01-08 21:30:53 +0100 | |
---|---|---|
committer | 2023-03-01 00:33:29 +0100 | |
commit | c40c89bb4edc22c4a60d8677c660a9ab7eb47e92 (patch) | |
tree | 3ba72592f324dd7bef32773211b093e4949d6ff0 /macros/src/syntax/parse/app.rs | |
parent | 6d252785e83218eeb5d080836281c90b86ca0e03 (diff) | |
download | rtic-c40c89bb4edc22c4a60d8677c660a9ab7eb47e92.tar.gz rtic-c40c89bb4edc22c4a60d8677c660a9ab7eb47e92.tar.zst rtic-c40c89bb4edc22c4a60d8677c660a9ab7eb47e92.zip |
Clippy fixes
Diffstat (limited to 'macros/src/syntax/parse/app.rs')
-rw-r--r-- | macros/src/syntax/parse/app.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/macros/src/syntax/parse/app.rs b/macros/src/syntax/parse/app.rs index 8a9242e9..e797f75e 100644 --- a/macros/src/syntax/parse/app.rs +++ b/macros/src/syntax/parse/app.rs @@ -450,8 +450,7 @@ impl App { return Err(parse::Error::new( init.user_shared_struct.span(), format!( - "This name and the one defined on `#[shared]` are not the same. Should this be `{}`?", - shared_resources_ident + "This name and the one defined on `#[shared]` are not the same. Should this be `{shared_resources_ident}`?" ), )); } @@ -460,8 +459,7 @@ impl App { return Err(parse::Error::new( init.user_local_struct.span(), format!( - "This name and the one defined on `#[local]` are not the same. Should this be `{}`?", - local_resources_ident + "This name and the one defined on `#[local]` are not the same. Should this be `{local_resources_ident}`?" ), )); } |