diff options
Diffstat (limited to 'xtask/src/codegen/gen_assists_docs.rs')
-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(), "->"); |