From 252bb625213e5cae61fa7ebabe2b308e31271226 Mon Sep 17 00:00:00 2001 From: Yerkebulan Tulibergenov Date: Tue, 8 Oct 2024 20:25:54 -0700 Subject: [PATCH] Fix typo (#2399) 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 6cb434bd..9514947b 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.