This commit is contained in:
Asuka Minato 2025-11-21 21:27:20 +09:00
parent 2dcbfefb03
commit 2127dbba92

View file

@ -94,7 +94,7 @@ fn edit_struct_def(
.prev_token()
.filter(|tok| tok.kind() == SyntaxKind::WHITESPACE)
.map(|tok| {
let text = tok.text().to_string();
let text = tok.text().to_owned();
edit.delete(tok.text_range());
text
});