Skip to content

Commit

Permalink
Fix nightly clippy warning for "using map_err over inspect_err"
Browse files Browse the repository at this point in the history
  • Loading branch information
kinetiknz committed Jul 30, 2024
1 parent 3495905 commit 72942f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,8 @@ fn cubeb_init_from_context_params() -> cubeb::Result<cubeb::Context> {
let context_name = Some(params.context_name.as_c_str());
let backend_name = params.backend_name.as_deref();
let r = cubeb::Context::init(context_name, backend_name);
r.map_err(|e| {
r.inspect_err(|e| {
info!("cubeb::Context::init failed r={:?}", e);
e
})
}

Expand Down

0 comments on commit 72942f6

Please sign in to comment.