Skip to content
Snippets Groups Projects
Commit 2b65e125 authored by Ian Jackson's avatar Ian Jackson
Browse files

tor-config: load: Explain why not write out macro call n times

parent 1ee2be9d
No related branches found
No related tags found
1 merge request!529Break TorClientConfig out of ArtiConfig and warn on unknown config keys
......@@ -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`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment