We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cce4ea5 commit daa5bd3Copy full SHA for daa5bd3
src/libsyntax/tokenstream.rs
@@ -186,7 +186,7 @@ impl TokenStream {
186
/// Given a `TokenStream` with a `Stream` of only two arguments, return a new `TokenStream`
187
/// separating the two arguments with a comma for diagnostic suggestions.
188
pub(crate) fn add_comma(&self) -> Option<(TokenStream, Span)> {
189
- // Used ot suggest if a user writes `println!("{}" a);`
+ // Used to suggest if a user writes `println!("{}" a);`
190
if let TokenStreamKind::Stream(ref slice) = self.kind {
191
if slice.len() == 2 {
192
let comma_span = match slice[0] {
0 commit comments