Skip to content

Commit bd31a42

Browse files
committed
clippy
Created using spr 1.3.6-beta.1
2 parents 978f134 + c0ddb59 commit bd31a42

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

daft-derive/tests/snapshot_test.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,12 @@ fn run_derive_macro(
6262
});
6363

6464
// Turn each item into a `syn::DeriveInput` and run the derive macro on it.
65-
let output = items.enumerate().map(|(i, item)| {
65+
items.enumerate().map(|(i, item)| {
6666
let data = syn::parse2::<DeriveInput>(item).unwrap_or_else(|err| {
6767
panic!("failed to parse item {}: {}", i, err);
6868
});
6969
internals::derive_diffable(data)
70-
});
71-
output
70+
})
7271
}
7372

7473
fn has_derive_diffable(attrs: &[syn::Attribute]) -> bool {

0 commit comments

Comments
 (0)