diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-10-26 17:27:47 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-10-26 17:27:47 +0300 |
| commit | 394e4744792f8e36ca1690cb23c2d3dd55556272 (patch) | |
| tree | bd13090d770165a128622608baa4e535e5d4a471 /xtask/src/codegen | |
| parent | e3a253d80f124f12b5ec3707216590eb5c0dccff (diff) | |
| download | rust-394e4744792f8e36ca1690cb23c2d3dd55556272.tar.gz rust-394e4744792f8e36ca1690cb23c2d3dd55556272.zip | |
add blank lines for readability
Diffstat (limited to 'xtask/src/codegen')
| -rw-r--r-- | xtask/src/codegen/gen_assists_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/gen_assists_docs.rs b/xtask/src/codegen/gen_assists_docs.rs index e313820d18a..2ca7cda63db 100644 --- a/xtask/src/codegen/gen_assists_docs.rs +++ b/xtask/src/codegen/gen_assists_docs.rs @@ -51,7 +51,7 @@ fn collect_assists() -> Result<Vec<Assist>> { id ); - let doc = take_until(lines.by_ref(), "```"); + let doc = take_until(lines.by_ref(), "```").trim().to_string(); let before = take_until(lines.by_ref(), "```"); assert_eq!(lines.next().unwrap().as_str(), "->"); |
