Skip to content

Commit 40ab4f7

Browse files
authored
Merge pull request #86 from light-curve/clippy1.66
Clippy fixes
2 parents b3ff92f + 127b085 commit 40ab4f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/plot_snia_curve_fits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ fn fit_and_plot<P>(
196196
))
197197
.unwrap()
198198
.label(&format!("{}, reduced chi2 = {:.2}", name, reduced_chi2))
199-
.legend(move |(x, y)| PathElement::new(vec![(x, y), (x + 10, y)], &Palette99::pick(i)));
199+
.legend(move |(x, y)| PathElement::new(vec![(x, y), (x + 10, y)], Palette99::pick(i)));
200200
}
201201

202202
chart

0 commit comments

Comments
 (0)