Skip to content

Commit 70d2822

Browse files
committed
[dont merge] add typo
1 parent 922b50b commit 70d2822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ impl Expr {
12011201
}
12021202
}
12031203

1204-
/// Returns an expression with (when possible) *one* outer brace removed
1204+
/// Returns an expression with (when possible) *one* outter outter brace removed
12051205
pub fn maybe_unwrap_block(&self) -> &Expr {
12061206
if let ExprKind::Block(block, None) = &self.kind
12071207
&& let [stmt] = block.stmts.as_slice()

0 commit comments

Comments
 (0)