Skip to content

Commit fd0cefe

Browse files
committed
Fix typo
1 parent 3cc0ae7 commit fd0cefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/err_expect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn get_data_type<'a>(cx: &LateContext<'_>, ty: Ty<'a>) -> Option<Ty<'a>> {
5151
}
5252
}
5353

54-
/// Givn a type, very if the Debug trait has been impl'd
54+
/// Given a type, very if the Debug trait has been impl'd
5555
fn has_debug_impl<'tcx>(ty: Ty<'tcx>, cx: &LateContext<'tcx>) -> bool {
5656
cx.tcx
5757
.get_diagnostic_item(sym::Debug)

0 commit comments

Comments
 (0)