Rustacean Station  cover image

What's New in Rust 1.62, 1.63, and 1.64

Rustacean Station

00:00

Turbo Fishing

The idea is if you have a function that is generic over any type, you can give it a type parameter after the name. And turbo fish is just a way of calling a function with giving it those type parameters and then an impol trait argument. So in the past, if you had any, uh, impol trait arguments to a function at all, you just couldn't use the turbo fish to call that function. In rush 2018, they've basically added this ability to explicitly give types even for impol traits. They're not going to come through the turbo fish, because now we've stabilized that you can use the turboFish.

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