From 6cc84acc60c21389107dac5f9dd70f08862519fd Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sun, 14 Oct 2018 20:23:33 +0000 Subject: [PATCH] remove unnecessary emphasis in doc comment During review of the previous commit, @joshtriplett noticed that the emphasis on 'the same' is unnecessary. For consistency, remove it on the offset() functions, as well. --- src/libcore/ptr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 19a4fb93c306..1c761ba21b3e 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -1037,7 +1037,7 @@ impl *const T { /// Behavior: /// /// * Both the starting and resulting pointer must be either in bounds or one - /// byte past the end of *the same* allocated object. + /// byte past the end of the same allocated object. /// /// * The computed offset, **in bytes**, cannot overflow an `isize`. /// @@ -1657,7 +1657,7 @@ impl *mut T { /// Behavior: /// /// * Both the starting and resulting pointer must be either in bounds or one - /// byte past the end of *the same* allocated object. + /// byte past the end of the same allocated object. /// /// * The computed offset, **in bytes**, cannot overflow an `isize`. ///