Skip to content

Commit 05e458f

Browse files
committed
---
yaml --- r: 212348 b: refs/heads/master c: 5efdcf2 h: refs/heads/master v: v3
1 parent 6c9c5a5 commit 05e458f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 5d8e085369eabb6766b9ec9423716266719b1e34
2+
refs/heads/master: 5efdcf268aed5139b8ec9de52db094edaf866822
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
55
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05

trunk/src/doc/trpl/ownership.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ But, unlike a move, we can still use `v` afterward. This is because an `i32`
157157
has no pointers to data somewhere else, copying it is a full copy.
158158

159159
All primitive types implement the `Copy` trait and their ownership is
160-
therefore not moved like one would assume, following the **ownership rules**.
160+
therefore not moved like one would assume, following the ´ownership rules´.
161161
To give an example, the two following snippets of code only compile because the
162162
`i32` and `bool` types implement the `Copy` trait.
163163

@@ -196,9 +196,6 @@ println!("{}", a);
196196
^
197197
```
198198

199-
This is quite important to understand, because it is an exception to the most
200-
fundamental rule in the Rust language.
201-
202199
We will discuss how to make your own types `Copy` in the [traits][traits]
203200
section.
204201

0 commit comments

Comments
 (0)