Skip to content

Commit d53a945

Browse files
authored
linera-views-derive: fix Clippy warning (#4754)
## Motivation Clippy. ## Proposal Fix. ## Test Plan Immaterial change. ## Release Plan - Nothing to do / These changes follow the usual release cycle. ## Links - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent 59e2513 commit d53a945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linera-views-derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn generate_view_code(input: ItemStruct, root: bool) -> Result<TokenStream2, Err
6464
} = Constraints::get(&input);
6565

6666
let attrs: StructAttrs = deluxe::parse_attributes(&input)
67-
.map_err(|e| Error::new_spanned(&input, format!("Failed to parse attributes: {}", e)))?;
67+
.map_err(|e| Error::new_spanned(&input, format!("Failed to parse attributes: {e}")))?;
6868
let context = attrs.context.or_else(|| {
6969
input.generics.type_params().next().map(|param| {
7070
let ident = &param.ident;

0 commit comments

Comments
 (0)