Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Clippy::not_unsafe_ptr_arg_deref troubles
Should this lint trigger even if the access is checked e.g with ptr.as_ref/as_mut? The lint describes that it is to ensure unchecked access is not done ever, but does using as_ref/as_mut on pointers not count as checked access?
This arises a lot when implementing COM classes using the windows
crate which is annoying.
3 posts - 2 participants
🏷️ Rust_feed