Amanieu / intrusive-rs

Intrusive collections for Rust
Apache License 2.0
400 stars 47 forks source link

Eliminated memory leaks due to use of Rc in tests for fast_clear and … #82

Closed icmccorm closed 1 year ago

icmccorm commented 1 year ago

Fixed issue in #81 (detected by Miri) by switching to a combination of UnsafeRef and Box instead of Rc. Renamed each of the failing tests to test_fast_clear_force_unlink to better indicate that they test the same behavior.

icmccorm commented 1 year ago

Thanks for your patience! Just pushed a fix for Rustfmt