aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-04-23 13:34:57 +0100
committerAndrew Gallant <jamslam@gmail.com>2017-07-08 08:40:02 -0400
commitd36d4ce33994277e16b1525b36a2e7063a8fd7ab (patch)
tree72c50de2f8b393d12db37004301125ea97bb93c3 /src
parent30b20c024a7c7d15fb35f4028870f522d1dda28d (diff)
downloadbyteorder-d36d4ce33994277e16b1525b36a2e7063a8fd7ab.tar.gz
Fix some typos in the docs
Unsigned integer types were given for the signed functions of the ByteOrder trait
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0b6d081..0efac0a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -432,7 +432,7 @@ pub trait ByteOrder
///
/// # Examples
///
- /// Write and read `u16` numbers in little endian order:
+ /// Write and read `i16` numbers in little endian order:
///
/// ```rust
/// use byteorder::{ByteOrder, LittleEndian};
@@ -476,7 +476,7 @@ pub trait ByteOrder
///
/// # Examples
///
- /// Write and read `u32` numbers in little endian order:
+ /// Write and read `i32` numbers in little endian order:
///
/// ```rust
/// use byteorder::{ByteOrder, LittleEndian};
@@ -498,7 +498,7 @@ pub trait ByteOrder
///
/// # Examples
///
- /// Write and read `u64` numbers in little endian order:
+ /// Write and read `i64` numbers in little endian order:
///
/// ```rust
/// use byteorder::{ByteOrder, LittleEndian};
@@ -612,7 +612,7 @@ pub trait ByteOrder
///
/// # Examples
///
- /// Write and read `u16` numbers in little endian order:
+ /// Write and read `i16` numbers in little endian order:
///
/// ```rust
/// use byteorder::{ByteOrder, LittleEndian};
@@ -656,7 +656,7 @@ pub trait ByteOrder
///
/// # Examples
///
- /// Write and read `u32` numbers in little endian order:
+ /// Write and read `i32` numbers in little endian order:
///
/// ```rust
/// use byteorder::{ByteOrder, LittleEndian};
@@ -678,7 +678,7 @@ pub trait ByteOrder
///
/// # Examples
///
- /// Write and read `u64` numbers in little endian order:
+ /// Write and read `i64` numbers in little endian order:
///
/// ```rust
/// use byteorder::{ByteOrder, LittleEndian};