Fix some typos in comments.

Also, tell the "typos" tool to ignore Cargo.lock.
This commit is contained in:
Nick Mathewson 2021-10-19 10:38:26 -04:00
parent 457e7f064c
commit 36353aacd8
4 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
[files]
extend-exclude = [ "arti-corpora", "testdata", "fallback_dirs.inc" ]
extend-exclude = [ "Cargo.lock", "arti-corpora", "testdata", "fallback_dirs.inc" ]
[default.extend-identifiers]
# This shows up in sere crates.
ser = "ser"
# This shows up in serde crates.
ser = "ser"

View File

@ -287,7 +287,7 @@ impl DangerouslyIntoTorAddr for SocketAddrV6 {
/// Check whether `hostname` is a valid hostname or not.
///
/// (Note that IPv6 addreses don't follow these rules.)
/// (Note that IPv6 addresses don't follow these rules.)
///
/// TODO: Check whether the rules given here are in fact the same rules
/// as Tor follows, and whether they conform to anything.

View File

@ -69,7 +69,7 @@ pub enum Error {
/// An error given by the checkable crate.
#[error("checkable error: {0}")]
SignatureError(#[from] signature::Error),
/// An IO error occured while manipulating storage on disk.
/// An IO error occurred while manipulating storage on disk.
#[error("IO error: {0}")]
IOError(#[from] std::io::Error),
}

View File

@ -15,7 +15,7 @@ IGNORE=(
# `localtime_r()`, which is not thread-safe if anybody calls
# `setenv()`.
#
# This is concerning! What makes it not disasterous is:
# This is concerning! What makes it not disastrous is:
# * We don't use chrono for any local times in Arti: only Utc.
# * We don't modify the environment.
#