Update receiver.md (#440)

This commit is contained in:
Adam MacBeth
2023-02-19 04:52:41 +00:00
committed by GitHub
parent df2c773652
commit 9510e80165
+2 -2
View File
@@ -22,8 +22,8 @@ allowed to be receiver types, such as `Box<Self>`.
<details>
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.
</details>