Initial node implementation #4
@ -5,7 +5,7 @@ use core::cell::Cell;
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct CellView<'a, T: Copy>(&'a Cell<T>);
|
||||
|
||||
impl<'a, T: Copy> CellView<'a, T> {
|
||||
impl<T: Copy> CellView<'_, T> {
|
||||
#[inline]
|
||||
pub fn get(self) -> T {
|
||||
self.0.get()
|
||||
|
Reference in New Issue
Block a user