mirror of
https://github.com/Noratrieb/stuff.git
synced 2026-01-14 16:35:08 +01:00
try to have a safer api around drops
This commit is contained in:
parent
041a4cd670
commit
4bb7f99b73
5 changed files with 291 additions and 238 deletions
3
clippy.toml
Normal file
3
clippy.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
disallowed-methods = [
|
||||
{ path = "core::mem::forget", reason = "mem::forget is sketchy around unsafe code, use ManuallyDrop instead" }
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue