The post isn't talking about the drop method of the Drop trait, which is used to hook into the drop functionally.
It's talking instead about std::mem::drop, a standard library function that drops a value before it would ordinarily go out of scope.
Re:My favorite Rust function
by steveklabnik on Saturday October 12, 2019 @09:21PM
(#21237603)
Yes, to do anything interesting, you need to implement the Drop trait, which causes interesting behavior to happen here.
An example of the implementation is all that's missing from the blog post.
Re:My favorite Rust function
by steveklabnik on Saturday October 12, 2019 @10:00PM
(#21237791)
Isn't it really only there in case someone needs to "hook into" the drop functionality before the variable is dropped? Please correct me if I'm wrong.
EDIT: Minor editing to clarify meaning.