diff options
-rw-r--r-- | doc/HACKING/CodingStandardsRust.md | 2 | ||||
-rw-r--r-- | src/rust/crypto/lib.rs | 3 | ||||
-rw-r--r-- | src/rust/protover/lib.rs | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/doc/HACKING/CodingStandardsRust.md b/doc/HACKING/CodingStandardsRust.md index d9496c08f7..fc562816db 100644 --- a/doc/HACKING/CodingStandardsRust.md +++ b/doc/HACKING/CodingStandardsRust.md @@ -104,7 +104,7 @@ repo. Documentation --------------- -You MUST include `#[deny(missing_docs)]` in your crate. +You MUST include `#![deny(missing_docs)]` in your crate. For function/method comments, you SHOULD include a one-sentence, "first person" description of function behaviour (see requirements for documentation as 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; diff --git a/src/rust/protover/lib.rs b/src/rust/protover/lib.rs index 5da562c1e0..4ea20665c8 100644 --- a/src/rust/protover/lib.rs +++ b/src/rust/protover/lib.rs @@ -22,7 +22,8 @@ //! protocols to develop independently, without having to claim compatibility //! with specific versions of Tor. -#[deny(missing_docs)] +// XXX: add missing docs +//#![deny(missing_docs)] extern crate libc; extern crate smartlist; |