Skip to content

Commit

Permalink
Fix network byte order definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kerhong committed Sep 26, 2015
1 parent e15138e commit 06bf4cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "endianrw"
version = "0.2.0"
version = "0.2.1"
authors = ["Kerhong <edgars.baduns@gmail.com>"]
description = "Reading and writing numbers with specific endianness"
keywords = ["endian"]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -56,7 +56,7 @@ pub enum BigEndian {}
pub enum LittleEndian {}

/// Network byte order
pub type NetworkByteOrder = LittleEndian;
pub type NetworkByteOrder = BigEndian;
#[cfg(target_endian = "little")]
pub type NativeByteOrder = LittleEndian;
#[cfg(target_endian = "big")]
Expand Down

0 comments on commit 06bf4cb

Please sign in to comment.