3min chapter

 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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode