Browse Source

Fix HashMap test referring to old thread builder

pull/46/head
AzureMarker 3 years ago
parent
commit
e2a0e61742
No known key found for this signature in database
GPG Key ID: 47A133F3BF9D03D3
  1. 2
      ctru-rs/src/services/ps.rs

2
ctru-rs/src/services/ps.rs

@ -123,7 +123,7 @@ mod tests { @@ -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<i32, String> = HashMap::from_iter([

Loading…
Cancel
Save