diff --git a/crates/tor-chanmgr/src/lib.rs b/crates/tor-chanmgr/src/lib.rs index 93e6cb3b9..1044c1e08 100644 --- a/crates/tor-chanmgr/src/lib.rs +++ b/crates/tor-chanmgr/src/lib.rs @@ -211,7 +211,7 @@ impl ChanMgr { /// Notifies the chanmgr to be dormant like dormancy /// - /// For netdir`, `None` means "there is definitely no consensus now", + /// For `netdir`, `None` means "there is definitely no consensus now", /// *not* "use previous netdir/consensus data". /// (This is not a great use of `Option` and work is on the way to change it.) pub fn set_dormancy( diff --git a/crates/tor-config/src/misc.rs b/crates/tor-config/src/misc.rs index f32751666..a3e6f7a85 100644 --- a/crates/tor-config/src/misc.rs +++ b/crates/tor-config/src/misc.rs @@ -9,7 +9,7 @@ use educe::Educe; use serde::{Deserialize, Serialize}; use strum::{Display, EnumString, IntoStaticStr}; -/// Padding enablemwent - rough amount of padding requested +/// Padding enablement - rough amount of padding requested /// /// Padding is cover traffic, used to help mitigate traffic analysis, /// obscure traffic patterns, and impede router-level data collection.