Merge branch 'tests'

Used the tests endian asserts.

Conflicts:
	src/endian.rs
This commit is contained in:
Jason Travis Smith
2016-01-02 18:29:22 -05:00
3 changed files with 111 additions and 1 deletions

View File

@ -52,7 +52,7 @@ macro_rules! write_bytes
({
use std::$valueType;
assert!($valueType::BYTES <= $buffer.len());
assert!($buffer.len() < $value_type::BYTES);
unsafe
{
let size: usize;