Skip to content

Commit dd870d7

Browse files
committed
fix typo
1 parent 334d465 commit dd870d7

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3688,7 +3688,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
36883688
}
36893689

36903690
/// If `expr` is a `match` expression that has only one non-`!` arm, use that arm's tail
3691-
/// expression's `Span`, otherwise return `expr.span`. This is done to give bettern errors
3691+
/// expression's `Span`, otherwise return `expr.span`. This is done to give better errors
36923692
/// when given code like the following:
36933693
/// ```text
36943694
/// if false { return 0i32; } else { 1u32 }

0 commit comments

Comments
 (0)