Skip to content

chore: fix cargo clippy issues with new versions of rust #13916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/native/library_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl PyConfigurator {
Ok(list.into())
}
Err(e) => {
let err_msg = format!("Failed to get configuration: {:?}", e);
let err_msg = format!("Failed to get configuration: {e:?}");
Err(PyException::new_err(err_msg))
}
}
Expand Down Expand Up @@ -116,7 +116,7 @@ pub fn store_metadata(data: &PyTracerMetadata) -> PyResult<PyAnonymousFileHandle
match res {
Ok(handle) => Ok(PyAnonymousFileHandle { internal: handle }),
Err(e) => {
let err_msg = format!("Failed to store the tracer configuration: {:?}", e);
let err_msg = format!("Failed to store the tracer configuration: {e:?}");
Err(PyException::new_err(err_msg))
}
}
Expand Down
Loading