DEV Community

loading...

Discussion on: How to Fetch a Web API with Rust 🦀

Collapse
didibear profile image
Adrien Turiot

Hey, what do you think of using unwrap_or for the optional parameter like in this Playground example here ?

Collapse
hb profile image
Henry Boisdequin Author

Wow, that looks great. Thanks for the suggestion!