Fix some typos in comments.
Also, tell the "typos" tool to ignore Cargo.lock.
This commit is contained in:
parent
457e7f064c
commit
36353aacd8
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
extend-exclude = [ "arti-corpora", "testdata", "fallback_dirs.inc" ]
|
extend-exclude = [ "Cargo.lock", "arti-corpora", "testdata", "fallback_dirs.inc" ]
|
||||||
|
|
||||||
|
|
||||||
[default.extend-identifiers]
|
[default.extend-identifiers]
|
||||||
|
|
||||||
# This shows up in sere crates.
|
# This shows up in serde crates.
|
||||||
ser = "ser"
|
ser = "ser"
|
||||||
|
|
|
@ -287,7 +287,7 @@ impl DangerouslyIntoTorAddr for SocketAddrV6 {
|
||||||
|
|
||||||
/// Check whether `hostname` is a valid hostname or not.
|
/// 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
|
/// TODO: Check whether the rules given here are in fact the same rules
|
||||||
/// as Tor follows, and whether they conform to anything.
|
/// as Tor follows, and whether they conform to anything.
|
||||||
|
|
|
@ -69,7 +69,7 @@ pub enum Error {
|
||||||
/// An error given by the checkable crate.
|
/// An error given by the checkable crate.
|
||||||
#[error("checkable error: {0}")]
|
#[error("checkable error: {0}")]
|
||||||
SignatureError(#[from] signature::Error),
|
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}")]
|
#[error("IO error: {0}")]
|
||||||
IOError(#[from] std::io::Error),
|
IOError(#[from] std::io::Error),
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ IGNORE=(
|
||||||
# `localtime_r()`, which is not thread-safe if anybody calls
|
# `localtime_r()`, which is not thread-safe if anybody calls
|
||||||
# `setenv()`.
|
# `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 use chrono for any local times in Arti: only Utc.
|
||||||
# * We don't modify the environment.
|
# * We don't modify the environment.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue