ci: fix nightly warnings
This commit is contained in:
parent
fa50c11ac4
commit
e19c083a81
|
@ -353,7 +353,7 @@ macro_rules! py_run_impl {
|
|||
// panic before flushing. This is where this hack comes into place
|
||||
$py.run("import sys; sys.stderr.flush()", None, None)
|
||||
.unwrap();
|
||||
panic!($code.to_string())
|
||||
panic!("{}", $code)
|
||||
}
|
||||
}};
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@ struct ClassWithDocs {
|
|||
|
||||
/// Write-only property field
|
||||
#[pyo3(set)]
|
||||
#[allow(dead_code)] // Rust detects field is never read
|
||||
writeonly: i32,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue