瀏覽代碼

Rustfmt is bad at wrapping comments

For whatever reason, rustfmt keeps trying to wrap comments to way shorter
than we've told it to. This is boring, so let's tell rustfmt to go away
for now.
Isaac Woods 4 年之前
父節點
當前提交
36159b1017
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      rustfmt.toml

+ 0 - 2
rustfmt.toml

@@ -6,7 +6,5 @@ imports_layout = "HorizontalVertical"
 use_field_init_shorthand = true
 use_try_shorthand = true
 format_code_in_doc_comments = true
-wrap_comments = true
 max_width = 115
-comment_width = 115
 use_small_heuristics = "max"