Skip to content

Commit 7e37d9f

Browse files
committed
[dont merge] add typo
1 parent 3b91087 commit 7e37d9f

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
@@ -1196,7 +1196,7 @@ impl Expr {
11961196
}
11971197
}
11981198

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

0 commit comments

Comments
 (0)