Skip to content

Commit f261603

Browse files
committed
---
yaml --- r: 212671 b: refs/heads/tmp c: 5efdcf2 h: refs/heads/master i: 212669: f52ad5a 212667: ef409fc 212663: 50639dd 212655: 2b9d42d 212639: dd5e9cc 212607: f14ae37 v: v3
1 parent f13493c commit f261603

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
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: 4efc4ec178f6ddf3c8cd268b011f3a04056f9d16
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: 5d8e085369eabb6766b9ec9423716266719b1e34
35+
refs/heads/tmp: 5efdcf268aed5139b8ec9de52db094edaf866822
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: bea1c4a78e5233ea6f85a2028a26e08c26635fca
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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)