We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16f521b commit 2932d17Copy full SHA for 2932d17
src/lib.rs
@@ -45,7 +45,7 @@ use crate::parse::Input;
45
#[derive(Clone, Copy)]
46
struct CopyWrapper<'a, T>(&'a T);
47
48
-impl<'a, T: ToTokens> ToTokens for CopyWrapper<'a, T> {
+impl<T: ToTokens> ToTokens for CopyWrapper<'_, T> {
49
fn to_tokens(&self, tokens: &mut proc_macro2::TokenStream) {
50
self.0.to_tokens(tokens)
51
}
tests/basics.rs
@@ -405,7 +405,7 @@ mod generics {
405
option: Option<u8>,
406
407
408
- fn const_generics_example<'a>() -> WithConstGeneric<3> {
+ fn const_generics_example() -> WithConstGeneric<3> {
409
WithConstGeneric {
410
data: ByteArray::new([1, 2, 3]),
411
option: None,
0 commit comments