2 Checks for usage of the `offset` pointer method with a `usize` casted to an
6 If we’re always increasing the pointer address, we can avoid the numeric
7 cast by using the `add` method instead.
11 let vec = vec![b'a', b'b', b'c'];
12 let ptr = vec.as_ptr();
16 ptr.offset(offset as isize);
23 let vec = vec![b'a', b'b', b'c'];
24 let ptr = vec.as_ptr();