aboutsummaryrefslogtreecommitdiff
path: root/src/rust/crypto
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2018-08-03 20:06:40 +0000
committerNick Mathewson <nickm@torproject.org>2018-08-16 08:42:57 -0400
commitfef2ba2267af831ff8579f8f63a898135954f44d (patch)
treea0cf8118c47435bb39457245d5847ec26b4d7897 /src/rust/crypto
parent8410d3b0ad6b7132452d6979914b20697707ea85 (diff)
downloadtor-fef2ba2267af831ff8579f8f63a898135954f44d.tar.gz
tor-fef2ba2267af831ff8579f8f63a898135954f44d.zip
rust/docs: fix critical typo for missing_docs lint
Fix typo from fe66d06a45a4714141eba992fe87ec3dd5fa1c22. The exclamation point is what lets an attribute apply to an entire crate, without the ! it's practically a placebo. Fix on commits af182d4ab51d6a1a70559bbdcd4ab842aa855684 and b6059297d7cb76f0e00e2098e38d6677d3033340, and note there are still missing docs in both crypto and protover, for now. https://doc.rust-lang.org/reference/attributes.html
Diffstat (limited to 'src/rust/crypto')
-rw-r--r--src/rust/crypto/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rust/crypto/lib.rs b/src/rust/crypto/lib.rs
index f72a859dd7..3b58935fda 100644
--- a/src/rust/crypto/lib.rs
+++ b/src/rust/crypto/lib.rs
@@ -24,7 +24,8 @@
//! assert!(result == [b'X'; DIGEST256_LEN]);
//! ```
-#[deny(missing_docs)]
+// XXX: add missing docs
+//#![deny(missing_docs)]
// External crates from cargo or TOR_RUST_DEPENDENCIES.
extern crate digest;