Skip to content

Commit

Permalink
Remove feature = "nightly" gate where unneeded
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon committed May 25, 2024
1 parent 8091e61 commit 9ad2b3a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/distribution/bernoulli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl Discrete<u64, f64> for Bernoulli {
}

#[rustfmt::skip]
#[cfg(all(test, feature = "nightly"))]
#[cfg(test)]
mod testing {
use std::fmt::Debug;
use crate::distribution::DiscreteCDF;
Expand Down
2 changes: 1 addition & 1 deletion src/distribution/dirac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl Mode<Option<f64>> for Dirac {
}

#[rustfmt::skip]
#[cfg(all(test, feature = "nightly"))]
#[cfg(test)]
mod tests {
use crate::statistics::*;
use crate::distribution::{ContinuousCDF, Continuous, Dirac};
Expand Down
2 changes: 1 addition & 1 deletion src/distribution/dirichlet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ fn is_valid_alpha(a: &[f64]) -> bool {
}

#[rustfmt::skip]
#[cfg(all(test, feature = "nightly"))]
#[cfg(test)]
mod tests {
use super::*;
use nalgebra::{DVector};
Expand Down
2 changes: 1 addition & 1 deletion src/distribution/discrete_uniform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl Discrete<i64, f64> for DiscreteUniform {
}

#[rustfmt::skip]
#[cfg(all(test, feature = "nightly"))]
#[cfg(test)]
mod tests {
use std::fmt::Debug;
use crate::statistics::*;
Expand Down
2 changes: 1 addition & 1 deletion src/distribution/empirical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl ContinuousCDF<f64, f64> for Empirical {
}
}

#[cfg(all(test, feature = "nightly"))]
#[cfg(test)]
mod tests {
use super::*;
#[test]
Expand Down
2 changes: 1 addition & 1 deletion src/distribution/laplace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ impl Continuous<f64, f64> for Laplace {
}
}

#[cfg(all(test, feature = "nightly"))]
#[cfg(test)]
mod tests {
use super::*;
use rand::thread_rng;
Expand Down
2 changes: 1 addition & 1 deletion src/distribution/multivariate_normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl Continuous<Vec<f64>, f64> for MultivariateNormal {
}

#[rustfmt::skip]
#[cfg(all(test, feature = "nightly"))]
#[cfg(test)]
mod tests {
use crate::distribution::{Continuous, MultivariateNormal};
use crate::statistics::*;
Expand Down

0 comments on commit 9ad2b3a

Please sign in to comment.