cloudflare / boringtun

Userspace WireGuard® Implementation in Rust
BSD 3-Clause "New" or "Revised" License
5.92k stars 397 forks source link

Fix warning of unused Box::from_raw() return value. #319

Closed behrat closed 1 year ago

behrat commented 1 year ago

I used the drop() function, as the compiler warning message suggests. I also noticed that a similar issue was previously fixed in this file by using let _ = syntax, so I also changed that to use drop() for consistency and because I think drop() is more readable.