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
smitop
arti
Commits
a36626d9
Commit
a36626d9
authored
3 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Run "typos" to fix a few more typos.
parent
5c87cd1e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
retry-error/src/lib.rs
+1
-1
1 addition, 1 deletion
retry-error/src/lib.rs
tor-circmgr/src/lib.rs
+1
-1
1 addition, 1 deletion
tor-circmgr/src/lib.rs
tor-circmgr/src/mgr.rs
+2
-2
2 additions, 2 deletions
tor-circmgr/src/mgr.rs
with
6 additions
and
6 deletions
README.md
+
2
−
2
View file @
a36626d9
...
...
@@ -41,7 +41,7 @@ modular, embeddable library that other applications can use.
Arti is
*cleaner than our C tor implementation*
. Although we've tried to
develop C tor well, we've learned a lot since we started it back in 2002.
There are lots of places in the current C codebase where complicated
"spaghetti" relationships betwen different pieces of code make our software
"spaghetti" relationships betwe
e
n different pieces of code make our software
needlessly hard to understand and improve.
...
...
@@ -75,7 +75,7 @@ or stability.
## Helping out
Have a look at our
[
contribut
e
r guidelines
](
./CONTRIBUTING.md
)
.
Have a look at our
[
contribut
o
r guidelines
](
./CONTRIBUTING.md
)
.
## Roadmap
...
...
This diff is collapsed.
Click to expand it.
retry-error/src/lib.rs
+
1
−
1
View file @
a36626d9
...
...
@@ -136,7 +136,7 @@ impl<E> RetryError<E> {
self
.errors
.is_empty
()
}
/// Group up consec
t
utive errors of the same kind, for easier display.
/// Group up consecutive errors of the same kind, for easier display.
///
/// Two errors have "the same kind" if they return `true` when passed
/// to the provided `dedup` function.
...
...
This diff is collapsed.
Click to expand it.
tor-circmgr/src/lib.rs
+
1
−
1
View file @
a36626d9
...
...
@@ -70,7 +70,7 @@ pub type Result<T> = std::result::Result<T, Error>;
///
/// TODO: this should be an option.
///
/// TODO: The rules should be different for differnt kinds of circuits.
/// TODO: The rules should be different for differ
e
nt kinds of circuits.
const
MAX_CIRC_DIRTINESS
:
Duration
=
Duration
::
from_secs
(
60
*
15
);
/// Represents what we know about the Tor network.
...
...
This diff is collapsed.
Click to expand it.
tor-circmgr/src/mgr.rs
+
2
−
2
View file @
a36626d9
...
...
@@ -344,7 +344,7 @@ impl<B: AbstractCircBuilder> PendingEntry<B> {
}
/// Try to change the tentative assignment of this circuit by
/// restricting it for use with `us
e
age`.
/// restricting it for use with `usage`.
///
/// Return an error if the current tentative assignment didn't
/// support `usage` in the first place.
...
...
@@ -843,7 +843,7 @@ impl<B: AbstractCircBuilder + 'static, R: Runtime> AbstractCircMgr<B, R> {
{
let
mut
list
=
self
.circs
.lock
()
.expect
(
"poisoned lock"
);
list
.add_open
(
open_ent
);
// We drop our refrence to 'pending' here:
// We drop our ref
e
rence to 'pending' here:
// this should make all the weak references to
// the `PendingEntry` become dangling.
drop
(
pending
);
...
...
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