diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-28 20:26:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@sequoia-pgp.org> | 2021-09-30 08:31:16 +0300 |
commit | 3e1cb18dae463a5b72f3a4c9ebcfe9a05c19fee3 (patch) | |
tree | 79a34d44526937fbef96d24d0e339164dc633fa5 /net | |
parent | 176fe4658b6c03b0dce1f2d2d1431090db31473f (diff) |
Avoid casting a usize to isize in the argument to pointer::offset
Arguably this code should be rewritten to avoid needing "unsafe", but
this is the minimal change for reassuring clippy.
Found by clippy lint ptr_offset_with_cast:
https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions