Fix new clippy errors

The failing lint was added in Rust v1.95.0.
This commit is contained in:
Oliver Hamlet
2026-04-28 19:00:22 +01:00
parent 391b9ad7c9
commit 1970a0b30c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ impl Filename {
fn __repr__(slf: &Bound<'_, Self>) -> PyResult<String> {
let class_name = slf.get_type().qualname()?;
let inner = &slf.borrow().0;
Ok(format!("{}({})", class_name, inner.as_str(),))
Ok(format!("{}({})", class_name, inner.as_str()))
}
}