WIP - BlockSnapshot::longest_row
This commit is contained in:
parent
cb18131432
commit
8230dd9a3b
2 changed files with 55 additions and 3 deletions
|
@ -2225,7 +2225,7 @@ impl Editor {
|
|||
let buffer = self.buffer.read(cx);
|
||||
let diagnostic_group = buffer
|
||||
.diagnostic_group::<Point>(group_id)
|
||||
.map(|(range, diagnostic)| (range, format!("{}\n", diagnostic.message)))
|
||||
.map(|(range, diagnostic)| (range, diagnostic.message.clone()))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
dbg!(group_id, &diagnostic_group);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue