Removed the library pathing for ConversionError from check_length!().
This commit is contained in:
parent
4295886f25
commit
12096a5136
@ -15,7 +15,7 @@ macro_rules! check_length
|
||||
{
|
||||
if $buffer.len() < $min_bytes
|
||||
{
|
||||
return Err(::conversion_error::ConversionError::TooFewBytes);
|
||||
return Err(ConversionError::TooFewBytes);
|
||||
}
|
||||
};
|
||||
|
||||
@ -25,7 +25,7 @@ macro_rules! check_length
|
||||
{
|
||||
if $buffer.len() > $max_bytes
|
||||
{
|
||||
return Err(::conversion_error::ConversionError::TooManyBytes);
|
||||
return Err(ConversionError::TooManyBytes);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user