mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
add blank lines for readability
This commit is contained in:
parent
e3a253d80f
commit
394e474479
6 changed files with 11 additions and 1 deletions
|
@ -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(), "->");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue