Keep references in format! when the target is unsized
This commit is contained in:
parent
2a8cc1db3a
commit
afa72d53e3
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ mod tests {
|
|||
match result {
|
||||
Ok(RangeInfo { range, info: () }) => {
|
||||
let source = analysis.file_text(position.file_id).unwrap();
|
||||
expect.assert_eq(&format!("{range:?}: {}", source[range]))
|
||||
expect.assert_eq(&format!("{range:?}: {}", &source[range]))
|
||||
}
|
||||
Err(RenameError(err)) => expect.assert_eq(&err),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue