News for hackers. Stuff that matters.
Re:Beginner's guide to error handling in Rust by richardwhiuk on Sunday July 10, 2022 @01:38PM (#32046867)
The idiomatic way to write this would be:

let response = reqwest::blocking::get(url)?;

In the way written there's no additional copy.

There are no comments on this comment yet.