AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Rust Sea Lint
Rust has added two new lints, let underscore drop and let underscore lock. Let underscore equal immediately drops the result of that expression because it doesn't get assigned to anything. And so this is a sort of correctness lint essentially saying specifically from you, Texas where? You are taking a guard and then immediately dropping the guard which releases the lock. This was deemed a Valuable enough lint that it's now been upstreamed into rusty itself.