Clippy fixes

This commit is contained in:
Jeremy Soller
2018-12-01 18:36:17 -07:00
parent 28dab8ece8
commit 52fd4d7e83
38 changed files with 497 additions and 554 deletions
+2 -2
View File
@@ -16,9 +16,9 @@ pub unsafe extern "C" fn __assert(
let file = CStr::from_ptr(file).to_str().unwrap();
let cond = CStr::from_ptr(cond).to_str().unwrap();
write!(
writeln!(
*stdio::stderr,
"{}: {}:{}: Assertion `{}` failed.\n",
"{}: {}:{}: Assertion `{}` failed.",
func,
file,
line,