Rustacean Station  cover image

Announcing Rustacean Station and Rust 1.36

Rustacean Station

CHAPTER

The New Standard Library for IO

A new attribute on the result type called must use warns you if you do this. The idea here is that the standard library shouldn't let you ignore errors, but your code is free to ignore them. And so now must use can be used not just on types, but on functions and two functions that have been added are result is OK and result is air. This will at least warn you and you can turn all these warnings into a hard error in your crate.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner