Skip to content

Commit

Permalink
Suppress harmless clipy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Feb 28, 2021
1 parent 7f16a5f commit 40422c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dataset/surrogate.rs
Expand Up @@ -228,6 +228,7 @@ struct Trial {
}

#[derive(Debug, PartialEq, serde::Deserialize)]
#[allow(clippy::enum_variant_names)]
enum Distribution {
UniformDistribution { low: f64, high: f64 },
LogUniformDistribution { low: f64, high: f64 },
Expand Down

0 comments on commit 40422c1

Please sign in to comment.