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
The Tor Project
Core
Arti
Commits
2b65e125
Commit
2b65e125
authored
2 years ago
by
Ian Jackson
Browse files
Options
Downloads
Patches
Plain Diff
tor-config: load: Explain why not write out macro call n times
parent
1ee2be9d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!529
Break TorClientConfig out of ArtiConfig and warn on unknown config keys
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
crates/tor-config/src/load.rs
+2
-0
2 additions, 0 deletions
crates/tor-config/src/load.rs
with
2 additions
and
0 deletions
crates/tor-config/src/load.rs
+
2
−
0
View file @
2b65e125
...
...
@@ -170,6 +170,8 @@ macro_rules! define_for_tuples {
};
}
// We could avoid recursion by writing out A B C... several times (in a "triangle") but this
// would make it tiresome and error-prone to extend the impl to longer tuples.
define_for_tuples!
{
A
-
B
C
D
E
}
/// Config resolution context, not used outside `tor_config::load`
...
...
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