Merge commit 'd7f78db121ee6f720e97401ded0c9c597d1a4857' into depends-updates-2

This commit is contained in:
Sean Bowe
2020-03-03 17:44:28 -07:00
5 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ pub trait Field:
Sized + Eq + Copy + Clone + Send + Sync + fmt::Debug + fmt::Display + 'static
{
/// Returns an element chosen uniformly at random using a user-provided RNG.
fn random<R: RngCore>(rng: &mut R) -> Self;
fn random<R: RngCore + ?std::marker::Sized>(rng: &mut R) -> Self;
/// Returns the zero element of the field, the additive identity.
fn zero() -> Self;