We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4553f79 commit bdd08d2Copy full SHA for bdd08d2
examples/next_reuse.rs
@@ -47,7 +47,7 @@ impl<C: HttpClient> Middleware<C> for Doubler {
47
48
// The need for Ok with turbofish is explained here
49
// https://rust-lang.github.io/async-book/07_workarounds/03_err_in_async_blocks.html
50
-fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
+fn main() -> Result<(), BoxError> {
51
femme::start(log::LevelFilter::Info)?;
52
task::block_on(async {
53
let mut res = surf::get("https://httpbin.org/get")
0 commit comments