aboutsummaryrefslogtreecommitdiff
path: root/src/plot/gnuplot_backend/summary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/plot/gnuplot_backend/summary.rs')
-rwxr-xr-xsrc/plot/gnuplot_backend/summary.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plot/gnuplot_backend/summary.rs b/src/plot/gnuplot_backend/summary.rs
index e944360..d57a174 100755
--- a/src/plot/gnuplot_backend/summary.rs
+++ b/src/plot/gnuplot_backend/summary.rs
@@ -83,9 +83,9 @@ pub fn line_comparison(
// This assumes the curves are sorted. It also assumes that the benchmark IDs all have numeric
// values or throughputs and that value is sensible (ie. not a mix of bytes and elements
// or whatnot)
- for (key, group) in &all_curves.iter().group_by(|&&&(ref id, _)| &id.function_id) {
+ for (key, group) in &all_curves.iter().group_by(|&&&(id, _)| &id.function_id) {
let mut tuples: Vec<_> = group
- .map(|&&(ref id, ref sample)| {
+ .map(|&&(id, ref sample)| {
// Unwrap is fine here because it will only fail if the assumptions above are not true
// ie. programmer error.
let x = id.as_number().unwrap();
@@ -185,7 +185,7 @@ pub fn violin(
positions: tics(),
labels: all_curves
.iter()
- .map(|&&(ref id, _)| gnuplot_escape(id.as_title())),
+ .map(|&&(id, _)| gnuplot_escape(id.as_title())),
})
});