Skip to content

Commit bbb75b7

Browse files
committed
[dont merge] add typo
1 parent 02701c9 commit bbb75b7

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
@@ -1194,7 +1194,7 @@ impl Expr {
11941194
}
11951195
}
11961196

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

0 commit comments

Comments
 (0)