Fix compiler warning for tests

This commit is contained in:
Gwilym Kuiper 2021-10-30 10:27:25 +01:00
parent 2eec47f31a
commit 413a819e64

View file

@ -556,6 +556,7 @@ fn test_vector_multiplication_and_division(_gba: &mut super::Gba) {
} }
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]
#[cfg(test)]
mod formatting_tests { mod formatting_tests {
use super::Num; use super::Num;
use alloc::format; use alloc::format;