File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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>(
574574}
575575
576576/// Same as `snippet_block`, but adapts the applicability level by the rules of
577- /// `snippet_with_applicabiliy `.
577+ /// `snippet_with_applicability `.
578578pub fn snippet_block_with_applicability < ' a , T : LintContext > (
579579 cx : & T ,
580580 span : Span ,
@@ -1304,7 +1304,7 @@ pub fn is_must_use_ty<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool {
13041304 }
13051305}
13061306
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
13081308pub fn is_must_use_func_call ( cx : & LateContext < ' _ > , expr : & Expr < ' _ > ) -> bool {
13091309 let did = match expr. kind {
13101310 ExprKind :: Call ( ref path, _) => if_chain ! {
You can’t perform that action at this time.
0 commit comments