From be075d33b6585182463327f575a7e4fd4d6faee9 Mon Sep 17 00:00:00 2001 From: Joshua Liebow-Feeser Date: Mon, 26 Feb 2024 09:55:18 -0800 Subject: [PATCH] Update library/core/src/ptr/mod.rs Co-authored-by: Ralf Jung --- library/core/src/ptr/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/ptr/mod.rs b/library/core/src/ptr/mod.rs index aec2cc45c684a..0ff44478d3563 100644 --- a/library/core/src/ptr/mod.rs +++ b/library/core/src/ptr/mod.rs @@ -83,7 +83,7 @@ //! - `base + size <= usize::MAX` //! - `size <= isize::MAX` //! -//! As a consequence of these guarantees, given any address, `a`, within the set +//! As a consequence of these guarantees, given any address `a` within the set //! of addresses of an allocated object: //! - It is guaranteed that `a - base` does not overflow `isize` //! - It is guaranteed that `a - base` is non-negative