Simplify InlayMap::splice
interface
This commit is contained in:
parent
7684a26daa
commit
2b1b1225f5
3 changed files with 34 additions and 38 deletions
|
@ -309,7 +309,7 @@ impl DisplayMap {
|
|||
buffer_snapshot.anchor_in_excerpt(location.excerpt_id, hint.position);
|
||||
new_inlays.push(InlayProperties {
|
||||
position: hint_anchor,
|
||||
text: hint.text().trim_end().into(),
|
||||
text: hint.text(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue