tweak comment

This commit is contained in:
Corey Farwell 2018-08-29 07:03:50 -05:00
parent feb3e9fd5f
commit a7c1ea96c4

View File

@ -51,7 +51,7 @@ fn check_expr(&mut self, cx: &lint::LateContext<'a, 'tcx>, expr: &'tcx hir::Expr
None => return,
};
// Check if the parameter to ptr.offset is a cast from usize to isize
// Check if the argument to ptr.offset is a cast from usize
let cast_lhs_expr = match expr_as_cast_from_usize(cx, arg_expr) {
Some(cast_lhs_expr) => cast_lhs_expr,
None => return,