Skip to content

Commit 14471a3

Browse files
committed
fix clippy
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent 6ae60b4 commit 14471a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly_kaleido/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl Kaleido {
151151
_ => &general_purpose::STANDARD.decode(image_data).unwrap(),
152152
};
153153
let mut file = File::create(dst.as_path())?;
154-
file.write_all(&data)?;
154+
file.write_all(data)?;
155155
file.flush()?;
156156

157157
Ok(())

0 commit comments

Comments
 (0)