rusty_pool icon indicating copy to clipboard operation
rusty_pool copied to clipboard

Used cfg(test) on some functions over allow dead code and fixed some warnings

Open BoolPurist opened this issue 1 year ago • 0 comments

This way we do not need any comments and are more disruptive with code. It allows reduces compile time for the user of the library

I removed some previously annotated function with allow dead code. Reason: Even the tests do not use them at all. They were private to the library anyway, so the user only would get more compile time. Dead code can be retrieved via source code control if needed later

  1. Fixed clippy warning about auto-deref

  2. Removed unused code for ThreadSafe trait: ThreadSafe is not used anywhere. Might be a relict of the past ?

BoolPurist avatar Sep 06 '24 00:09 BoolPurist