]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast/src/util/parser.rs
Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obk
[rust.git] / compiler / rustc_ast / src / util / parser.rs
index 2db2ab5e811570693682001322507435ffe48c2b..81efdaa44b365a3979187d37a540640636784a4f 100644 (file)
@@ -305,7 +305,7 @@ pub fn order(self) -> i8 {
             | ExprPrecedence::Yeet => PREC_JUMP,
 
             // `Range` claims to have higher precedence than `Assign`, but `x .. x = x` fails to
-            // parse, instead of parsing as `(x .. x) = x`.  Giving `Range` a lower precedence
+            // parse, instead of parsing as `(x .. x) = x`. Giving `Range` a lower precedence
             // ensures that `pprust` will add parentheses in the right places to get the desired
             // parse.
             ExprPrecedence::Range => PREC_RANGE,