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:
@ -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};
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user