autocommit 2022-02-04 00:45:22 CET
This commit is contained in:
parent
89b8396932
commit
bb1639a2ae
15 changed files with 196 additions and 77 deletions
|
|
@ -202,9 +202,7 @@ impl<T> NodeRef<T> {
|
|||
let data = self.data.as_ref();
|
||||
let other = data.prev.get();
|
||||
other.as_ref().rc.fetch_add(1);
|
||||
NodeRef {
|
||||
data: other,
|
||||
}
|
||||
NodeRef { data: other }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -214,9 +212,7 @@ impl<T> NodeRef<T> {
|
|||
let data = self.data.as_ref();
|
||||
let other = data.next.get();
|
||||
other.as_ref().rc.fetch_add(1);
|
||||
NodeRef {
|
||||
data: other,
|
||||
}
|
||||
NodeRef { data: other }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue