]> code.octet-stream.net Git - hashgood/blobdiff - src/display.rs
Fix clippy lint for write! vs writeln!
[hashgood] / src / display.rs
index 1a3b243cfdfda2e708550126bb2c2799504e44c6..07eb83fed8030149782c6f0f747c6a903d0ede09 100644 (file)
@@ -80,7 +80,7 @@ fn print_pointer_line(
             write!(&mut stdout, "{}{}", marker, marker)?;
         }
     }
             write!(&mut stdout, "{}{}", marker, marker)?;
         }
     }
-    write!(&mut stdout, "\n")?;
+    writeln!(&mut stdout)?;
     Ok(())
 }
 
     Ok(())
 }