@@ -21,15 +21,15 @@ use marker::Sized;
21
21
/// A cheap, reference-to-reference conversion.
22
22
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
23
23
pub trait AsRef < T : ?Sized > {
24
- /// Perform the conversion.
24
+ /// Performs the conversion.
25
25
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
26
26
fn as_ref ( & self ) -> & T ;
27
27
}
28
28
29
29
/// A cheap, mutable reference-to-mutable reference conversion.
30
30
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
31
31
pub trait AsMut < T : ?Sized > {
32
- /// Perform the conversion.
32
+ /// Performs the conversion.
33
33
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
34
34
fn as_mut ( & mut self ) -> & mut T ;
35
35
}
@@ -38,15 +38,15 @@ pub trait AsMut<T: ?Sized> {
38
38
/// expensive.
39
39
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
40
40
pub trait Into < T > : Sized {
41
- /// Perform the conversion.
41
+ /// Performs the conversion.
42
42
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
43
43
fn into ( self ) -> T ;
44
44
}
45
45
46
46
/// Construct `Self` via a conversion.
47
47
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
48
48
pub trait From < T > {
49
- /// Perform the conversion.
49
+ /// Performs the conversion.
50
50
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
51
51
fn from ( T ) -> Self ;
52
52
}
0 commit comments