Fix two failing doctests.

This commit is contained in:
Isis Lovecruft 2019-10-04 01:19:23 +00:00
parent dc4b77b551
commit aa49b4cd8d
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -322,7 +322,7 @@ impl ExpandedSecretKey {
/// # extern crate sha2;
/// # extern crate ed25519_dalek;
/// #
/// # #[cfg(all(feature = "sha2", feature = "std"))]
/// # #[cfg(feature = "std")]
/// # fn main() {
/// #
/// use rand_os::OsRng;
@ -364,7 +364,7 @@ impl ExpandedSecretKey {
/// #
/// # use ed25519_dalek::{ExpandedSecretKey, SignatureError};
/// #
/// # #[cfg(all(feature = "sha2", feature = "std"))]
/// # #[cfg(feature = "std")]
/// # fn do_test() -> Result<ExpandedSecretKey, SignatureError> {
/// #
/// use rand_os::OsRng;