File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,7 @@ pub enum Expr_ {
919919 /// Inline assembly (from `asm!`), with its outputs and inputs.
920920 ExprInlineAsm ( InlineAsm , Vec < P < Expr > > , Vec < P < Expr > > ) ,
921921
922- /// A struct or enum variant literal expression.
922+ /// A struct or struct-like variant literal expression.
923923 ///
924924 /// For example, `Foo {x: 1, y: 2}`, or
925925 /// `Foo {x: 1, .. base}`, where `base` is the `Option<Expr>`.
@@ -955,12 +955,12 @@ pub struct QSelf {
955955pub enum MatchSource {
956956 /// A `match _ { .. }`
957957 Normal ,
958- /// An `if let _ = _ { .. }` (optionally with `else { .. }`
958+ /// An `if let _ = _ { .. }` (optionally with `else { .. }`)
959959 IfLetDesugar {
960960 contains_else_clause : bool ,
961961 } ,
962962 /// A `while let _ = _ { .. }` (which was desugared to a
963- /// `loop { match _ { .. } }`
963+ /// `loop { match _ { .. } }`)
964964 WhileLetDesugar ,
965965 /// A desugared `for _ in _ { .. }` loop
966966 ForLoopDesugar ,
You can’t perform that action at this time.
0 commit comments