From 073488272f398a33da1b68c6ab7a3c2456d71382 Mon Sep 17 00:00:00 2001 From: Roman Levin Date: Sat, 16 May 2020 23:01:18 +0200 Subject: [PATCH] Gramatical fix in std/rc.md --- src/std/rc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/std/rc.md b/src/std/rc.md index 358bd45f39..86e00e9081 100644 --- a/src/std/rc.md +++ b/src/std/rc.md @@ -4,7 +4,7 @@ When multiple ownership is needed, `Rc`(Reference Counting) can be used. `Rc` ke Reference count of an `Rc` increases by 1 whenever an `Rc` is cloned, and decreases by 1 whenever one cloned `Rc` is dropped out of the scope. When an `Rc`'s reference count becomes zero, which means there are no owners remained, both the `Rc` and the value are all dropped. -Cloning an `Rc` never do a deep copy. Cloning creates just another pointer to the wrapped value, and increments the count. +Cloning an `Rc` never performs a deep copy. Cloning creates just another pointer to the wrapped value, and increments the count. ```rust,editable use std::rc::Rc;