Make extern crate alloc centralized
This commit is contained in:
parent
2c4afe54a0
commit
f33a60d24d
|
@ -31,3 +31,6 @@ macro_rules! mat {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
extern crate alloc;
|
||||||
|
|
|
@ -106,10 +106,8 @@ mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::mat;
|
use crate::mat;
|
||||||
|
|
||||||
use core::ops::RangeInclusive;
|
|
||||||
|
|
||||||
extern crate alloc;
|
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
|
use core::ops::RangeInclusive;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_bit_constants() {
|
fn test_bit_constants() {
|
||||||
|
|
|
@ -146,10 +146,8 @@ mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::mat;
|
use crate::mat;
|
||||||
|
|
||||||
use core::ops::RangeInclusive;
|
|
||||||
|
|
||||||
extern crate alloc;
|
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
|
use core::ops::RangeInclusive;
|
||||||
|
|
||||||
// .X.
|
// .X.
|
||||||
// .XX origin at (1,1)
|
// .XX origin at (1,1)
|
||||||
|
|
Loading…
Reference in New Issue