Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Arti
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jill
Arti
Commits
36353aac
Commit
36353aac
authored
3 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Fix some typos in comments.
Also, tell the "typos" tool to ignore Cargo.lock.
parent
457e7f06
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.typos.toml
+3
-3
3 additions, 3 deletions
.typos.toml
crates/tor-client/src/address.rs
+1
-1
1 addition, 1 deletion
crates/tor-client/src/address.rs
crates/tor-dirmgr/src/err.rs
+1
-1
1 addition, 1 deletion
crates/tor-dirmgr/src/err.rs
maint/cargo_audit.sh
+1
-1
1 addition, 1 deletion
maint/cargo_audit.sh
with
6 additions
and
6 deletions
.typos.toml
+
3
−
3
View file @
36353aac
[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"
\ No newline at end of file
# This shows up in serde crates.
ser
=
"ser"
This diff is collapsed.
Click to expand it.
crates/tor-client/src/address.rs
+
1
−
1
View file @
36353aac
...
...
@@ -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 addres
s
es 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.
...
...
This diff is collapsed.
Click to expand it.
crates/tor-dirmgr/src/err.rs
+
1
−
1
View file @
36353aac
...
...
@@ -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 occur
r
ed while manipulating storage on disk.
#[error(
"IO error: {0}"
)]
IOError
(
#[from]
std
::
io
::
Error
),
}
...
...
This diff is collapsed.
Click to expand it.
maint/cargo_audit.sh
+
1
−
1
View file @
36353aac
...
...
@@ -15,7 +15,7 @@ IGNORE=(
# `localtime_r()`, which is not thread-safe if anybody calls
# `setenv()`.
#
# This is concerning! What makes it not disast
e
rous 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.
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment