diff --git a/ext/src/ruby_api/component/linker.rs b/ext/src/ruby_api/component/linker.rs index 86f77ef3..cb12f1c2 100644 --- a/ext/src/ruby_api/component/linker.rs +++ b/ext/src/ruby_api/component/linker.rs @@ -135,7 +135,6 @@ impl Linker { free_immediately, unsafe_generics )] - pub struct LinkerInstance<'a> { inner: RefCell>, refs: RefCell>, diff --git a/ext/src/ruby_api/store.rs b/ext/src/ruby_api/store.rs index 496f1c1e..888c02bf 100644 --- a/ext/src/ruby_api/store.rs +++ b/ext/src/ruby_api/store.rs @@ -262,7 +262,7 @@ pub enum StoreContextValue<'a> { Caller(Opaque>>), } -impl<'a> From> for StoreContextValue<'a> { +impl From> for StoreContextValue<'_> { fn from(store: Obj) -> Self { StoreContextValue::Store(store.into()) } @@ -274,7 +274,7 @@ impl<'a> From>> for StoreContextValue<'a> { } } -impl<'a> StoreContextValue<'a> { +impl StoreContextValue<'_> { pub fn mark(&self, marker: &Marker) { match self { Self::Store(store) => marker.mark(*store),