diff --git a/src/pointer.rs b/src/pointer.rs index 120534b..e09cf5d 100644 --- a/src/pointer.rs +++ b/src/pointer.rs @@ -815,10 +815,7 @@ impl PointerBuf { } /// Creates a new `PointerBuf` from a slice of non-encoded strings. - pub fn from_tokens<'a, T>(tokens: impl IntoIterator) -> Self - where - T: Into>, - { + pub fn from_tokens<'t>(tokens: impl IntoIterator>>) -> Self { let mut inner = String::new(); for t in tokens.into_iter().map(Into::into) { inner.push('/');