We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
next_back
BTreeSet
1 parent 54027ea commit d30d29aCopy full SHA for d30d29a
facet-core/src/impls_alloc/btreeset.rs
@@ -134,6 +134,14 @@ where
134
.next()
135
.map(|value| PtrConst::new(value as *const T))
136
})
137
+ .next_back(|iter_ptr| {
138
+ let state = unsafe {
139
+ iter_ptr.as_mut::<BTreeSetIterator<'_, T>>()
140
+ };
141
+ state
142
+ .next_back()
143
+ .map(|value| PtrConst::new(value as *const T))
144
+ })
145
.dealloc(|iter_ptr| unsafe {
146
drop(Box::from_raw(
147
iter_ptr.as_ptr::<BTreeSetIterator<'_, T>>()
0 commit comments