1
0
Fork 0
forked from wry/wry

all: fix clippy lints

This commit is contained in:
Julian Orth 2024-02-04 20:17:55 +01:00
parent daf03b423d
commit 58cab8894c
6 changed files with 9 additions and 9 deletions

View file

@ -63,7 +63,7 @@ async fn run(screenshot: Rc<Screenshot>) {
.as_deref()
.unwrap_or("%Y-%m-%d-%H%M%S_jay.qoi");
let filename = Local::now().format(filename).to_string();
if let Err(e) = std::fs::write(&filename, &data) {
if let Err(e) = std::fs::write(&filename, data) {
fatal!("Could not write `{}`: {}", filename, ErrorFmt(e));
}
}