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.
2 parents f49f967 + 0d721bf commit 1a7c8e8Copy full SHA for 1a7c8e8
src/pool/mod.rs
@@ -359,15 +359,16 @@ impl<T> Pool<T> {
359
() => {
360
if let Some(p) = Ptr::new(p as *mut _) {
361
self.stack.push(p);
362
+ n += 1;
363
}
364
365
366
#[cfg(not(target_arch = "x86_64"))]
367
368
self.stack.push(unsafe { Ptr::new_unchecked(p as *mut _) });
369
370
371
- n += 1;
372
373
p = unsafe { p.add(sz) };
374
len -= sz;
0 commit comments