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 @@ -196,7 +196,7 @@ pub trait Int
196
196
/// ```
197
197
fn swap_bytes ( self ) -> Self ;
198
198
199
- /// Convert a integer from big endian to the target's endianness.
199
+ /// Convert an integer from big endian to the target's endianness.
200
200
///
201
201
/// On big endian this is a no-op. On little endian the bytes are swapped.
202
202
///
@@ -218,7 +218,7 @@ pub trait Int
218
218
if cfg ! ( target_endian = "big" ) { x } else { x. swap_bytes ( ) }
219
219
}
220
220
221
- /// Convert a integer from little endian to the target's endianness.
221
+ /// Convert an integer from little endian to the target's endianness.
222
222
///
223
223
/// On little endian this is a no-op. On big endian the bytes are swapped.
224
224
///
You can’t perform that action at this time.
0 commit comments