]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/transmute/utils.rs
adding spell checking
[rust.git] / clippy_lints / src / transmute / utils.rs
index 0e07a0b0392eb3eb5a4fe2431516985a078ba640..0cbf5ccefa6d89ea6435cfc3a7647c81fee84e9e 100644 (file)
@@ -87,7 +87,7 @@ fn check_cast<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'_>, from_ty: Ty<'tcx>
             let res = check.do_check(&fn_ctxt);
 
             // do_check's documentation says that it might return Ok and create
-            // errors in the fcx instead of returing Err in some cases. Those cases
+            // errors in the fcx instead of returning Err in some cases. Those cases
             // should be filtered out before getting here.
             assert!(
                 !fn_ctxt.errors_reported_since_creation(),