Skip to content

Commit 9b910e1

Browse files
author
oliver
authored
a typo
typo
1 parent 0402c6a commit 9b910e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/assertions_on_constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn match_assert_with_message<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>)
129129
if let ExprKind::Block(ref block, _) = arms[0].body.kind;
130130
if block.stmts.is_empty();
131131
if let Some(block_expr) = &block.expr;
132-
// inner block is optional. unwarp it if it exists, or use the expression as is otherwise.
132+
// inner block is optional. unwrap it if it exists, or use the expression as is otherwise.
133133
if let Some(begin_panic_call) = match block_expr.kind {
134134
ExprKind::Block(ref inner_block, _) => &inner_block.expr,
135135
_ => &block.expr,

0 commit comments

Comments
 (0)