review comment: str -> string in messages

This commit is contained in:
Esteban Küber 2024-03-13 23:52:04 +00:00
parent 4a10b01f95
commit 999a0dc300
18 changed files with 29 additions and 29 deletions

View file

@ -419,7 +419,7 @@ impl<'psess, 'src> StringReader<'psess, 'src> {
.with_code(E0762);
if let Some(lt_sp) = self.last_lifetime {
err.multipart_suggestion(
"if you meant to write a `str` literal, use double quotes",
"if you meant to write a string literal, use double quotes",
vec![
(lt_sp, "\"".to_string()),
(self.mk_sp(start, start + BytePos(1)), "\"".to_string()),