about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2016-06-05 12:19:37 +0530
committerSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2016-06-05 12:19:37 +0530
commit8a6a9af9821f7430b842848941eceb1b9ebe58ff (patch)
tree51eab47182d6b685a656df54a876c820968a5677 /src/libtest
parent382ab92ceedc258e794c1a95aef21d3be3fa76c4 (diff)
downloadrust-8a6a9af9821f7430b842848941eceb1b9ebe58ff.tar.gz
rust-8a6a9af9821f7430b842848941eceb1b9ebe58ff.zip
run rustfmt on libtest folder
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/stats.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libtest/stats.rs b/src/libtest/stats.rs
index 335b6d67209..1883f0aba23 100644
--- a/src/libtest/stats.rs
+++ b/src/libtest/stats.rs
@@ -11,7 +11,7 @@
 #![allow(missing_docs)]
 #![allow(deprecated)] // Float
 
-use std::cmp::Ordering::{self, Less, Greater, Equal};
+use std::cmp::Ordering::{self, Equal, Greater, Less};
 use std::mem;
 
 fn local_cmp(x: f64, y: f64) -> Ordering {
@@ -35,7 +35,6 @@ fn local_sort(v: &mut [f64]) {
 
 /// Trait that provides simple descriptive statistics on a univariate set of numeric samples.
 pub trait Stats {
-
     /// Sum of the samples.
     ///
     /// Note: this method sacrifices performance at the altar of accuracy