Fixed the example and tests to use the new Converter trait.

Transmutable was changed to Converter. This needed to be reflected in
the example and tests.

Also, fixed some comments in the new transmutable module.
This commit is contained in:
Jason Travis Smith
2016-01-05 23:42:08 -05:00
parent e7f2f252fa
commit d9a3e21aec
3 changed files with 12 additions and 8 deletions

View File

@ -48,7 +48,7 @@ macro_rules! full_check_impl
{
use rand::ThreadRng;
use rand::distributions::{IndependentSample, Range};
use alchemy::{BigEndian, LittleEndian, Transmutable};
use alchemy::{Converter, BigEndian, LittleEndian};
let range: Range<$T>;
let mut rng: ThreadRng;
@ -115,7 +115,7 @@ macro_rules! overflow_impl
{
use std::num::Zero;
use alchemy::{BigEndian, LittleEndian, Transmutable};
use alchemy::{Converter, BigEndian, LittleEndian};