3 ms·
Careful. I don't like the use of `let _ =` in general, as it instantly drops. And you don't get a compilation failure when the type on the right hand side chan
by OptionOfT 10mo ago
Careful. I don't like the use of `let _ =` in general, as it instantly drops.
And you don't get a compilation failure when the type on the right hand side changes. This is even more important if it switches from non-drop to drop. There is a clippy lint for this.
- junon 10mo agoGood point. You can always explicitly type the underscore. Clippy even has `let_underscore_untyped` for this. Never thought about it, but I'll be adding this to my standard list of deny lints now.