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

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app