Skip to content

Commit dae18f9

Browse files
committed
---
yaml --- r: 209617 b: refs/heads/try c: f5b2963 h: refs/heads/master i: 209615: 2b31daf v: v3
1 parent c6a5cae commit dae18f9

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f
5+
refs/heads/try: f5b296310320a49897e05112f8fb739d55cdf695
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/doc/reference.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3821,18 +3821,20 @@ impl Printable for String {
38213821
`self` refers to the value of type `String` that is the receiver for a call to
38223822
the method `make_string`.
38233823

3824-
# The `Copy` trait
3824+
# Special traits
38253825

3826-
Rust has a special trait, `Copy`, which when implemented changes the semantics
3827-
of a value. Values whose type implements `Copy` are copied rather than moved
3828-
upon assignment.
3826+
Several traits define special evaluation behavior.
38293827

3830-
# The `Sized` trait
3828+
## The `Copy` trait
38313829

3832-
`Sized` is a special trait which indicates that the size of this type is known
3833-
at compile-time.
3830+
The `Copy` trait changes the semantics of a type implementing it. Values whose
3831+
type implements `Copy` are copied rather than moved upon assignment.
38343832

3835-
# The `Drop` trait
3833+
## The `Sized` trait
3834+
3835+
The `Sized` trait indicates that the size of this type is known at compile-time.
3836+
3837+
## The `Drop` trait
38363838

38373839
The `Drop` trait provides a destructor, to be run whenever a value of this type
38383840
is to be destroyed.

0 commit comments

Comments
 (0)