We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18ec4a9 commit dc932cdCopy full SHA for dc932cd
compiler/rustc_ast/src/util/literal.rs
@@ -87,7 +87,6 @@ impl LitKind {
87
}
88
});
89
error?;
90
- buf.shrink_to_fit();
91
Symbol::intern(&buf)
92
} else {
93
symbol
@@ -105,7 +104,6 @@ impl LitKind {
105
104
106
107
108
109
LitKind::ByteStr(buf.into())
110
111
token::ByteStrRaw(_) => {
@@ -120,7 +118,6 @@ impl LitKind {
120
118
121
119
122
123
124
buf
125
126
symbol.to_string().into_bytes()
0 commit comments