X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Contributing.md;h=730cefdca45490bdbc12d1dc01d330d23ee883f0;hb=df7d2be5629b7162426f8a3c6dbf005f228008fe;hp=7c66d27da410442ecc74b22acd2db65cd235b4e2;hpb=e1759ae295a65b28636d4635f76daa129eed9be0;p=rust.git diff --git a/Contributing.md b/Contributing.md index 7c66d27da41..730cefdca45 100644 --- a/Contributing.md +++ b/Contributing.md @@ -207,6 +207,6 @@ handling of configuration options is done in [src/config.rs](src/config.rs). Loo `create_config!` macro at the end of the file for all the options. The rest of the file defines a bunch of enums used for options, and the machinery to produce the config struct and parse a config file, etc. Checking an option is done by -accessing the correct field on the config struct, e.g., `config.max_width`. Most +accessing the correct field on the config struct, e.g., `config.max_width()`. Most functions have a `Config`, or one can be accessed via a visitor or context of some kind.