Skip to content

Commit

Permalink
silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matsadler committed May 9, 2024
1 parent 4333e75 commit b05e059
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ where
init: Once::new(),
mark: true,
func,
#[allow(deprecated)]
value: UnsafeCell::new(QNIL.0.get()),
}
}
Expand All @@ -536,6 +537,7 @@ where
init: Once::new(),
mark: false,
func,
#[allow(deprecated)]
value: UnsafeCell::new(QNIL.0.get()),
}
}
Expand Down

0 comments on commit b05e059

Please sign in to comment.