From 8a6a9af9821f7430b842848941eceb1b9ebe58ff Mon Sep 17 00:00:00 2001 From: Srinivas Reddy Thatiparthy Date: Sun, 5 Jun 2016 12:19:37 +0530 Subject: [PATCH] run rustfmt on libtest folder --- src/libtest/stats.rs | 3 +-- 1 file changed, 1 insertion(+), 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