We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922b50b commit 70d2822Copy full SHA for 70d2822
compiler/rustc_ast/src/ast.rs
@@ -1201,7 +1201,7 @@ impl Expr {
1201
}
1202
1203
1204
- /// Returns an expression with (when possible) *one* outer brace removed
+ /// Returns an expression with (when possible) *one* outter outter brace removed
1205
pub fn maybe_unwrap_block(&self) -> &Expr {
1206
if let ExprKind::Block(block, None) = &self.kind
1207
&& let [stmt] = block.stmts.as_slice()
0 commit comments