diff --git a/src/file.rs b/src/file.rs index ba482c6..5645522 100644 --- a/src/file.rs +++ b/src/file.rs @@ -236,7 +236,7 @@ impl FileChecker for DiffTypos { 0, ); for line in diff { - print!("{}", line); + write!(std::io::stdout(), "{}", line)?; } }