File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ pub fn align_of_val<T>(_val: &T) -> uint {
88
88
89
89
/// Create a value initialized to zero.
90
90
///
91
- /// This function is similar to allocating space for a a local variable and
91
+ /// This function is similar to allocating space for a local variable and
92
92
/// zeroing it out (an unsafe operation).
93
93
///
94
94
/// Care must be taken when using this function, if the type `T` has a
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ pub trait Int
198
198
/// ```
199
199
fn swap_bytes ( self ) -> Self ;
200
200
201
- /// Convert a integer from big endian to the target's endianness.
201
+ /// Convert an integer from big endian to the target's endianness.
202
202
///
203
203
/// On big endian this is a no-op. On little endian the bytes are swapped.
204
204
///
@@ -220,7 +220,7 @@ pub trait Int
220
220
if cfg ! ( target_endian = "big" ) { x } else { x. swap_bytes ( ) }
221
221
}
222
222
223
- /// Convert a integer from little endian to the target's endianness.
223
+ /// Convert an integer from little endian to the target's endianness.
224
224
///
225
225
/// On little endian this is a no-op. On big endian the bytes are swapped.
226
226
///
You can’t perform that action at this time.
0 commit comments