mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
Fix two failing doctests.
This commit is contained in:
parent
dc4b77b551
commit
aa49b4cd8d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue