]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo
authorhi-rustin <rustin.liu@gmail.com>
Sun, 9 May 2021 04:24:58 +0000 (12:24 +0800)
committerhi-rustin <rustin.liu@gmail.com>
Sun, 9 May 2021 04:24:58 +0000 (12:24 +0800)
compiler/rustc_parse/src/parser/mod.rs

index 74481e236f31c7c3846addced8f2a4869e4dac91..0c0c3d0f47520ae12695656864f7a3e76a7eecc9 100644 (file)
@@ -1077,7 +1077,7 @@ fn parse_mac_args_common(&mut self, delimited_only: bool) -> PResult<'a, MacArgs
                     let span = expr.span;
 
                     match &expr.kind {
-                        // Not gated to supporte things like `doc = $expr` that work on stable.
+                        // Not gated to support things like `doc = $expr` that work on stable.
                         _ if is_interpolated_expr => {}
                         ExprKind::Lit(lit) if lit.kind.is_unsuffixed() => {}
                         _ => self.sess.gated_spans.gate(sym::extended_key_value_attributes, span),