We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bb48f0 commit ded066fCopy full SHA for ded066f
library/core/src/ub_checks.rs
@@ -192,7 +192,7 @@ pub use predicates::*;
192
#[cfg(not(kani))]
193
mod predicates {
194
/// Checks if a pointer can be dereferenced, ensuring:
195
- /// * `src` is valid for reads (see [`crate::ptr`] documentation).
+ /// * `src` is valid for reads and writes (see [`crate::ptr`] documentation).
196
/// * `src` is properly aligned (use `read_unaligned` if not).
197
/// * `src` points to a properly initialized value of type `T`.
198
///
0 commit comments