File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: 7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f
5
+ refs/heads/try: f5b296310320a49897e05112f8fb739d55cdf695
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -3821,18 +3821,20 @@ impl Printable for String {
3821
3821
` self ` refers to the value of type ` String ` that is the receiver for a call to
3822
3822
the method ` make_string ` .
3823
3823
3824
- # The ` Copy ` trait
3824
+ # Special traits
3825
3825
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.
3829
3827
3830
- # The ` Sized ` trait
3828
+ ## The ` Copy ` trait
3831
3829
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 .
3834
3832
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
3836
3838
3837
3839
The ` Drop ` trait provides a destructor, to be run whenever a value of this type
3838
3840
is to be destroyed.
You can’t perform that action at this time.
0 commit comments