File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ pub fn snippet_block<'a, T: LintContext>(
574
574
}
575
575
576
576
/// Same as `snippet_block`, but adapts the applicability level by the rules of
577
- /// `snippet_with_applicabiliy `.
577
+ /// `snippet_with_applicability `.
578
578
pub fn snippet_block_with_applicability < ' a , T : LintContext > (
579
579
cx : & T ,
580
580
span : Span ,
@@ -1304,7 +1304,7 @@ pub fn is_must_use_ty<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool {
1304
1304
}
1305
1305
}
1306
1306
1307
- // check if expr is calling method or function with #[must_use] attribyte
1307
+ // check if expr is calling method or function with #[must_use] attribute
1308
1308
pub fn is_must_use_func_call ( cx : & LateContext < ' _ > , expr : & Expr < ' _ > ) -> bool {
1309
1309
let did = match expr. kind {
1310
1310
ExprKind :: Call ( ref path, _) => if_chain ! {
You can’t perform that action at this time.
0 commit comments