diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-20 17:16:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-20 17:16:44 -0400 |
commit | 592e8ac395fc29113774fb15ca0227699d14e080 (patch) | |
tree | 0a9309f8e048de115f733fc05eb62c80da2cae72 /src/rust/crypto/digests | |
parent | 901ada7e5f5cd98d94c98dac55e471d0a71b740b (diff) | |
download | tor-592e8ac395fc29113774fb15ca0227699d14e080.tar.gz tor-592e8ac395fc29113774fb15ca0227699d14e080.zip |
Disable doctests in src/rust/crypto module.
These all need C linking to work, and so far, rustdoc does not seem
to respect cargo setting about build scripts or RUSTOPTIONS.
Diffstat (limited to 'src/rust/crypto/digests')
-rw-r--r-- | src/rust/crypto/digests/sha2.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rust/crypto/digests/sha2.rs b/src/rust/crypto/digests/sha2.rs index 1e6b8e0e86..03e0843dc0 100644 --- a/src/rust/crypto/digests/sha2.rs +++ b/src/rust/crypto/digests/sha2.rs @@ -43,7 +43,7 @@ pub struct Sha256 { /// /// # Examples /// -/// ``` +/// ```rust,no_run /// use crypto::digests::sha2::{Sha256, Digest}; /// /// let mut hasher: Sha256 = Sha256::default(); @@ -66,7 +66,7 @@ impl BlockInput for Sha256 { /// /// # Examples /// -/// ``` +/// ```rust,no_run /// use crypto::digests::sha2::{Sha256, Digest}; /// /// let mut hasher: Sha256 = Sha256::default(); @@ -110,7 +110,7 @@ pub struct Sha512 { /// /// # Examples /// -/// ``` +/// ```rust,no_run /// use crypto::digests::sha2::{Sha512, Digest}; /// /// let mut hasher: Sha512 = Sha512::default(); @@ -133,7 +133,7 @@ impl BlockInput for Sha512 { /// /// # Examples /// -/// ``` +/// ```rust,no_run /// use crypto::digests::sha2::{Sha512, Digest}; /// /// let mut hasher: Sha512 = Sha512::default(); |