From 05f85f625eadb2688c69af89d533eeb69ba76da0 Mon Sep 17 00:00:00 2001 From: natrixaeria Date: Fri, 13 Dec 2019 05:18:14 +0100 Subject: Make two_level trait impl more readable Also fix a little non-returning result issue --- src/plot/gnuplot.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plot') diff --git a/src/plot/gnuplot.rs b/src/plot/gnuplot.rs index 8bb5ac6..fec64b7 100644 --- a/src/plot/gnuplot.rs +++ b/src/plot/gnuplot.rs @@ -29,6 +29,7 @@ fn write_data_file(path: &str, data: &[[f64; 6]]) -> Result<(), io::Error> { line[0], line[1], line[2], line[3], line[4], line[5] ))?; } + Ok(()) } impl Gnuplot { -- cgit v1.2.3-70-g09d2