Skip to content

Commit 17e6a1e

Browse files
committed
clippy
Created using spr 1.3.6-beta.1
1 parent 2e3993a commit 17e6a1e

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
@@ -55,13 +55,12 @@ fn run_derive_macro(
5555
});
5656

5757
// Turn each item into a `syn::DeriveInput` and run the derive macro on it.
58-
let output = items.enumerate().map(|(i, item)| {
58+
items.enumerate().map(|(i, item)| {
5959
let data = syn::parse2::<DeriveInput>(item).unwrap_or_else(|err| {
6060
panic!("failed to parse item {}: {}", i, err);
6161
});
6262
internals::derive_diffable(data)
63-
});
64-
output
63+
})
6564
}
6665

6766
fn assert_derive_output<T: ToTokens>(

0 commit comments

Comments
 (0)