From 3a24afd111b3600611fb47de6a406cb40b6e3120 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 5 Oct 2018 12:27:35 +0700 Subject: [PATCH] clippy: Use println!(f), without empty string. --- src/base/matrix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/matrix.rs b/src/base/matrix.rs index ebd35b0b..1c1d9e1f 100644 --- a/src/base/matrix.rs +++ b/src/base/matrix.rs @@ -1033,7 +1033,7 @@ where let max_length_with_space = max_length + 1; - try!(writeln!(f, "")); + try!(writeln!(f)); try!(writeln!( f, " ┌ {:>width$} ┐", @@ -1061,7 +1061,7 @@ where "", width = max_length_with_space * ncols - 1 )); - writeln!(f, "") + writeln!(f) } }