v0.24.7_cleanup_warnings

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-03 10:26:38 +02:00
1 parent 1bfec751d1
commit 579d9c806b
12 files changed
+48 -23

No files matched your search

+6 -4
View File
@@ -137,10 +137,12 @@ impl Cache {
.compare_exchange_weak(current, next, Ordering::AcqRel, Ordering::Relaxed)
.is_ok()
{
return Some(TransientLease(Arc::new(TransientLeaseInner {
counter: self.transient_bytes_active.clone(),
bytes,
})));
return Some(TransientLease {
_inner: Arc::new(TransientLeaseInner {
counter: self.transient_bytes_active.clone(),
bytes,
}),
});
}
}
}