Skip to content

Commit 5efdcf2

Browse files
committed
Updated with requested changes
1 parent 5d8e085 commit 5efdcf2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/doc/trpl/ownership.md

+1-4
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)