Migrate zcash_primitives to rand_core 0.4

This commit is contained in:
Jack Grigg
2019-07-13 00:16:54 -04:00
parent 60d344a0a7
commit 8f7adec0d9
7 changed files with 40 additions and 37 deletions

View File

@@ -202,12 +202,12 @@ impl<Node: Hashable> CommitmentTree<Node> {
/// ```
/// extern crate ff;
/// extern crate pairing;
/// extern crate rand;
/// extern crate rand_os;
/// extern crate zcash_primitives;
///
/// use ff::{Field, PrimeField};
/// use pairing::bls12_381::Fr;
/// use rand::OsRng;
/// use rand_os::OsRng;
/// use zcash_primitives::{
/// merkle_tree::{CommitmentTree, IncrementalWitness},
/// sapling::Node,