clippy
This commit is contained in:
parent
cac986d87e
commit
982acc9bf6
@ -108,6 +108,12 @@ impl Kurtosis {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl core::default::Default for Kurtosis {
|
||||||
|
fn default() -> Kurtosis {
|
||||||
|
Kurtosis::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Estimate for Kurtosis {
|
impl Estimate for Kurtosis {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn add(&mut self, x: f64) {
|
fn add(&mut self, x: f64) {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg_attr(feature = "cargo-clippy", allow(float_cmp, map_clone))]
|
||||||
|
|
||||||
extern crate average;
|
extern crate average;
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user