Skip to content

Commit 75a21a4

Browse files
committed
Fix clippy warnings
1 parent 9248be1 commit 75a21a4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ext/src/ruby_api/component/linker.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ impl Linker {
135135
free_immediately,
136136
unsafe_generics
137137
)]
138-
139138
pub struct LinkerInstance<'a> {
140139
inner: RefCell<MaybeInstanceImpl<'a>>,
141140
refs: RefCell<Vec<Value>>,

ext/src/ruby_api/store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub enum StoreContextValue<'a> {
262262
Caller(Opaque<Obj<Caller<'a>>>),
263263
}
264264

265-
impl<'a> From<Obj<Store>> for StoreContextValue<'a> {
265+
impl From<Obj<Store>> for StoreContextValue<'_> {
266266
fn from(store: Obj<Store>) -> Self {
267267
StoreContextValue::Store(store.into())
268268
}
@@ -274,7 +274,7 @@ impl<'a> From<Obj<Caller<'a>>> for StoreContextValue<'a> {
274274
}
275275
}
276276

277-
impl<'a> StoreContextValue<'a> {
277+
impl StoreContextValue<'_> {
278278
pub fn mark(&self, marker: &Marker) {
279279
match self {
280280
Self::Store(store) => marker.mark(*store),

0 commit comments

Comments
 (0)