Skip to content

Commit 2be0898

Browse files
NeutroniSiegeLord
authored andcommitted
TempDir into_path deprecation
1 parent a3ed028 commit 2be0898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnuplot/src/figure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ fn flush_test()
748748
use std::fs;
749749
use tempfile::TempDir;
750750

751-
let tmp_path = TempDir::new().unwrap().into_path();
751+
let tmp_path = TempDir::new().unwrap().keep();
752752
let filename = tmp_path.join("plot.png");
753753
let mut fg = Figure::new();
754754
fg.axes2d().boxes(0..5, 0..5, &[]);

0 commit comments

Comments
 (0)