summaryrefslogtreecommitdiff
path: root/src/rust/crypto/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/crypto/lib.rs')
-rw-r--r--src/rust/crypto/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rust/crypto/lib.rs b/src/rust/crypto/lib.rs
index d120635b95..f72a859dd7 100644
--- a/src/rust/crypto/lib.rs
+++ b/src/rust/crypto/lib.rs
@@ -9,7 +9,7 @@
//! The `digests` module contains submodules for specific hash digests
//! and extendable output functions.
//!
-//! ```
+//! ```rust,no_run
//! use crypto::digests::sha2::*;
//!
//! let mut hasher: Sha256 = Sha256::default();
@@ -43,4 +43,3 @@ extern crate tor_log;
pub mod digests; // Unfortunately named "digests" plural to avoid name conflict with the digest crate
pub mod rand;
-