From 9510e80165bf9a6d65789cb8813c76e4dd44861f Mon Sep 17 00:00:00 2001 From: Adam MacBeth Date: Sat, 18 Feb 2023 20:52:41 -0800 Subject: [PATCH] Update receiver.md (#440) --- src/methods/receiver.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/methods/receiver.md b/src/methods/receiver.md index efe5997a..cd7ade1d 100644 --- a/src/methods/receiver.md +++ b/src/methods/receiver.md @@ -22,8 +22,8 @@ allowed to be receiver types, such as `Box`.
-Consider emphasizing on "shared and immutable" and "unique and mutable". These constraints always come -together in Rust due to borrow checker rules, and `self` is no exception. It won't be possible to +Consider emphasizing "shared and immutable" and "unique and mutable". These constraints always come +together in Rust due to borrow checker rules, and `self` is no exception. It isn't possible to reference a struct from multiple locations and call a mutating (`&mut self`) method on it.