summaryrefslogtreecommitdiff
path: root/rust/macros/paste.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/macros/paste.rs')
-rw-r--r--rust/macros/paste.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/macros/paste.rs b/rust/macros/paste.rs
index 6529a387673f..cce712d19855 100644
--- a/rust/macros/paste.rs
+++ b/rust/macros/paste.rs
@@ -50,7 +50,7 @@ fn concat_helper(tokens: &[TokenTree]) -> Vec<(String, Span)> {
let tokens = group.stream().into_iter().collect::<Vec<TokenTree>>();
segments.append(&mut concat_helper(tokens.as_slice()));
}
- token => panic!("unexpected token in paste segments: {:?}", token),
+ token => panic!("unexpected token in paste segments: {token:?}"),
};
}