We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1aded commit 3092e1cCopy full SHA for 3092e1c
crates/ide/src/rename.rs
@@ -516,7 +516,7 @@ mod tests {
516
match result {
517
Ok(RangeInfo { range, info: () }) => {
518
let source = analysis.file_text(position.file_id).unwrap();
519
- expect.assert_eq(&format!("{range:?}: {}", source[range]))
+ expect.assert_eq(&format!("{range:?}: {}", &source[range]))
520
}
521
Err(RenameError(err)) => expect.assert_eq(&err),
522
};
0 commit comments