fix a couple of spelling errors in guardmgr

This commit is contained in:
Nick Mathewson 2022-10-19 07:49:39 -04:00
parent bba1532bd3
commit 2845ee24bf
2 changed files with 2 additions and 2 deletions

View File

@ -1327,7 +1327,7 @@ pub struct GuardUsage {
impl_standard_builder! { GuardUsage: !Deserialize }
/// List of socket restricteionesses, as configured
/// List of socket restrictions, as configured
pub type GuardRestrictionList = Vec<GuardRestriction>;
define_list_builder_helper! {

View File

@ -906,7 +906,7 @@ mod test {
// calculation of collision probability at the end of this function is
// too tricky.
let netdir = tor_netdir::testnet::construct_custom_netdir(|idx, builder| {
// Give every node eequal bandwidth.
// Give every node equal bandwidth.
builder.rs.weight(RelayWeight::Measured(1000));
// The default network has 40 relays, and the first 10 are
// not Guard by default.