From 6948b4689b9a769b7efd59fe5fdfc1484784d39e Mon Sep 17 00:00:00 2001 From: Yerkebulan Tulibergenov Date: Tue, 8 Oct 2024 17:50:43 -0700 Subject: [PATCH] fix typo --- src/memory-management/copy-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory-management/copy-types.md b/src/memory-management/copy-types.md index 6cb434bdbaa..9514947b916 100644 --- a/src/memory-management/copy-types.md +++ b/src/memory-management/copy-types.md @@ -60,7 +60,7 @@ In the above example, try the following: # More to Explore - Shared references are `Copy`/`Clone`, mutable references are not. This is - because rust requires that mutable references be exclusive, so while it's + because Rust requires that mutable references be exclusive, so while it's valid to make a copy of a shared reference, creating a copy of a mutable reference would violate Rust's borrowing rules.