From e2a0e617428a6a07b1ce728ab6830ed8c8322be3 Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Thu, 10 Feb 2022 21:14:22 -0800 Subject: [PATCH] Fix HashMap test referring to old thread builder --- ctru-rs/src/services/ps.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/services/ps.rs b/ctru-rs/src/services/ps.rs index b6f1702..0b6ad13 100644 --- a/ctru-rs/src/services/ps.rs +++ b/ctru-rs/src/services/ps.rs @@ -123,7 +123,7 @@ mod tests { // One downside of this approach is that the panic handler for the panicking // thread prints to the console, which is not captured by the default test // harness and prints even when the test passes. - crate::thread::Builder::new() + std::thread::Builder::new() .stack_size(0x20_0000) .spawn(|| { let map: HashMap = HashMap::from_iter([