about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-10 07:15:23 +0000
committerbors <bors@rust-lang.org>2021-05-10 07:15:23 +0000
commit2fb1dee14b3eff979f91e99ad034cfe262fc78c3 (patch)
treee1ec79e1fc17465cb1f2246a4bfb127055b3c7f6 /compiler/rustc_parse/src/parser/mod.rs
parent00f2bf40d6374ec3541a72edb5b481fb1370dbca (diff)
parentfc544abe03f168c5fe26656aaa9bddaf5ac235e3 (diff)
downloadrust-2fb1dee14b3eff979f91e99ad034cfe262fc78c3.tar.gz
rust-2fb1dee14b3eff979f91e99ad034cfe262fc78c3.zip
Auto merge of #85104 - hi-rustin:rustin-patch-typo, r=jonas-schievink
Fix typo
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
-rw-r--r--compiler/rustc_parse/src/parser/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs
index ec11f2d3add..35cfaae13a4 100644
--- a/compiler/rustc_parse/src/parser/mod.rs
+++ b/compiler/rustc_parse/src/parser/mod.rs
@@ -1077,7 +1077,7 @@ impl<'a> Parser<'a> {
                     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),