We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc0ae7 commit fd0cefeCopy full SHA for fd0cefe
clippy_lints/src/methods/err_expect.rs
@@ -51,7 +51,7 @@ fn get_data_type<'a>(cx: &LateContext<'_>, ty: Ty<'a>) -> Option<Ty<'a>> {
51
}
52
53
54
-/// Givn a type, very if the Debug trait has been impl'd
+/// Given a type, very if the Debug trait has been impl'd
55
fn has_debug_impl<'tcx>(ty: Ty<'tcx>, cx: &LateContext<'tcx>) -> bool {
56
cx.tcx
57
.get_diagnostic_item(sym::Debug)
0 commit comments