diff --git a/library/core/src/ub_checks.rs b/library/core/src/ub_checks.rs index 8b937ed48b848..c9b669eff554e 100644 --- a/library/core/src/ub_checks.rs +++ b/library/core/src/ub_checks.rs @@ -192,7 +192,7 @@ pub use predicates::*; #[cfg(not(kani))] mod predicates { /// Checks if a pointer can be dereferenced, ensuring: - /// * `src` is valid for reads (see [`crate::ptr`] documentation). + /// * `src` is valid for reads and writes (see [`crate::ptr`] documentation). /// * `src` is properly aligned (use `read_unaligned` if not). /// * `src` points to a properly initialized value of type `T`. ///