Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecations #757

Merged
merged 1 commit into from Mar 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions rand_isaac/src/isaac.rs
Expand Up @@ -130,16 +130,6 @@ impl SeedableRng for IsaacRng {
}
}

impl IsaacRng {
/// Create an ISAAC random number generator using an `u64` as seed.
/// If `seed == 0` this will produce the same stream of random numbers as
/// the reference implementation when used unseeded.
#[deprecated(since="0.6.0", note="use SeedableRng::seed_from_u64 instead")]
pub fn new_from_u64(seed: u64) -> Self {
Self::seed_from_u64(seed)
}
}

/// The core of [`IsaacRng`], used with [`BlockRng`].
#[derive(Clone)]
#[cfg_attr(feature="serde1", derive(Serialize, Deserialize))]
Expand Down
18 changes: 0 additions & 18 deletions rand_isaac/src/isaac64.rs
Expand Up @@ -121,16 +121,6 @@ impl SeedableRng for Isaac64Rng {
}
}

impl Isaac64Rng {
/// Create an ISAAC-64 random number generator using an `u64` as seed.
/// If `seed == 0` this will produce the same stream of random numbers as
/// the reference implementation when used unseeded.
#[deprecated(since="0.6.0", note="use SeedableRng::seed_from_u64 instead")]
pub fn new_from_u64(seed: u64) -> Self {
Self::seed_from_u64(seed)
}
}

/// The core of `Isaac64Rng`, used with `BlockRng`.
#[derive(Clone)]
#[cfg_attr(feature="serde1", derive(Serialize, Deserialize))]
Expand Down Expand Up @@ -271,14 +261,6 @@ impl Isaac64Core {

Self { mem, a: w(0), b: w(0), c: w(0) }
}

/// Create an ISAAC-64 random number generator using an `u64` as seed.
/// If `seed == 0` this will produce the same stream of random numbers as
/// the reference implementation when used unseeded.
#[deprecated(since="0.6.0", note="use SeedableRng::seed_from_u64 instead")]
pub fn new_from_u64(seed: u64) -> Self {
Self::seed_from_u64(seed)
}
}

impl SeedableRng for Isaac64Core {
Expand Down