]> git.lizzy.rs Git - rust.git/blobdiff - Design.md
Run wrap_str() only when chain_indent is set to "Visual"
[rust.git] / Design.md
index da52fb23e404afbf68066ae60c09505dfb2f6549..43caa7b81f80114aa7ac7e9b7728f58bf8dfecd5 100644 (file)
--- a/Design.md
+++ b/Design.md
@@ -150,7 +150,7 @@ for its configuration.
 
 Our visitor keeps track of the desired current indent due to blocks (
 `block_indent`). Each `visit_*` method reformats code according to this indent,
-`config.comment_width` and `config.max_width`. Most reformatting done in the
+`config.comment_width()` and `config.max_width()`. Most reformatting done in the
 `visit_*` methods is a bit hackey and is meant to be temporary until it can be
 done properly.