mirror of
https://github.com/typst/typst
synced 2025-08-14 23:18:32 +08:00
Replace .ok()
with _ =
This commit is contained in:
parent
62f7c37dc8
commit
dae1ed443e
@ -265,7 +265,7 @@ impl Tempdir {
|
|||||||
|
|
||||||
impl Drop for Tempdir {
|
impl Drop for Tempdir {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
fs::remove_dir_all(&self.0).ok();
|
_ = fs::remove_dir_all(&self.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user