Commit 36353aac authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Fix some typos in comments.

Also, tell the "typos" tool to ignore Cargo.lock.
parent 457e7f06
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line

[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.
# This shows up in serde crates.
ser = "ser"
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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),
}
+1 −1
Original line number Diff line number Diff line
@@ -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.
    #