style(all): Address suggestions made by rust-clippy
This commit is contained in:
@@ -32,7 +32,7 @@ impl<T> OptCell<T> {
|
||||
impl<T> Deref for OptCell<T> {
|
||||
type Target = Option<T>;
|
||||
#[inline]
|
||||
fn deref<'a>(&'a self) -> &'a Option<T> {
|
||||
fn deref(&self) -> &Option<T> {
|
||||
unsafe { &*self.0.get() }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user