1
0
Fork 0
forked from wry/wry

autocommit 2022-02-04 00:45:22 CET

This commit is contained in:
Julian Orth 2022-02-04 00:45:22 +01:00
parent 89b8396932
commit bb1639a2ae
15 changed files with 196 additions and 77 deletions

View file

@ -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 }
}
}
}