We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 324e3eb + d716b6f commit 3858747Copy full SHA for 3858747
1 file changed
internal/src/pinned_drop.rs
@@ -28,8 +28,7 @@ pub(crate) fn pinned_drop(_args: TokenStream, input: TokenStream) -> TokenStream
28
// Found the end of the generics, this should be `PinnedDrop`.
29
assert!(
30
matches!(tt, TokenTree::Ident(i) if i.to_string() == "PinnedDrop"),
31
- "expected 'PinnedDrop', found: '{:?}'",
32
- tt
+ "expected 'PinnedDrop', found: '{tt:?}'"
33
);
34
pinned_drop_idx = Some(i);
35
break;
0 commit comments