Fix typos in comments.

This commit is contained in:
eta 2022-08-04 13:26:45 +00:00 committed by Ian Jackson
parent 7ed983800d
commit e5396a35c8
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ impl<R: Runtime> ChanMgr<R> {
/// 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(

View File

@ -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.