Skip to content

Commit 30fa1f6

Browse files
authored
Merge pull request #1347 from romanlevin/patch-1
Gramatical fix in std/rc.md
2 parents 87b589c + 0734882 commit 30fa1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std/rc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ When multiple ownership is needed, `Rc`(Reference Counting) can be used. `Rc` ke
44

55
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.
66

7-
Cloning an `Rc` never do a deep copy. Cloning creates just another pointer to the wrapped value, and increments the count.
7+
Cloning an `Rc` never performs a deep copy. Cloning creates just another pointer to the wrapped value, and increments the count.
88

99
```rust,editable
1010
use std::rc::Rc;

0 commit comments

Comments
 (0)