Fix clippy warnings and make them all errors

This commit is contained in:
Dustin J. Mitchell
2020-12-24 17:39:49 +00:00
parent 161c38807d
commit 8989b0d2e3
12 changed files with 24 additions and 23 deletions

View File

@@ -13,7 +13,7 @@ pub(crate) fn execute<W: WriteColor>(
_ => "(no description)".to_owned(),
};
let t = replica.new_task(Status::Pending, description).unwrap();
write!(w, "added task {}\n", t.get_uuid())?;
writeln!(w, "added task {}", t.get_uuid())?;
Ok(())
}