diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-10-26 15:38:20 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-10-26 15:38:20 +0100 |
commit | 65e3fc8e772219bd41e182e424c928700788032a (patch) | |
tree | 97d219e21c2c4a873863e40103c7a1e5573ae5db /xtask | |
parent | fa4ccc5fef4f69d2e5bc93086249ba4d2ecf9ffc (diff) | |
parent | 3126152a84e08a80659d49d735d03628154564ed (diff) |
Merge #2075
2075: document a couple of assists r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-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 e313820d1..2ca7cda63 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>> { | |||
51 | id | 51 | id |
52 | ); | 52 | ); |
53 | 53 | ||
54 | let doc = take_until(lines.by_ref(), "```"); | 54 | let doc = take_until(lines.by_ref(), "```").trim().to_string(); |
55 | let before = take_until(lines.by_ref(), "```"); | 55 | let before = take_until(lines.by_ref(), "```"); |
56 | 56 | ||
57 | assert_eq!(lines.next().unwrap().as_str(), "->"); | 57 | assert_eq!(lines.next().unwrap().as_str(), "->"); |