mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
tweak comment
This commit is contained in:
parent
feb3e9fd5f
commit
a7c1ea96c4
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ impl<'a, 'tcx> lint::LateLintPass<'a, 'tcx> for Pass {
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue