fix a couple of spelling errors in guardmgr
This commit is contained in:
parent
bba1532bd3
commit
2845ee24bf
|
@ -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! {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue