From ad444a51c967c47800bb832042edaba561562c3d Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Tue, 15 Feb 2022 19:27:33 -0800 Subject: [PATCH] Rename ThreadBuilderExt to BuilderExt --- ctru-rs/examples/futures-basic.rs | 2 +- ctru-rs/examples/futures-tokio.rs | 2 +- ctru-rs/examples/thread-basic.rs | 2 +- ctru-rs/examples/thread-info.rs | 2 +- ctru-rs/examples/thread-locals.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ctru-rs/examples/futures-basic.rs b/ctru-rs/examples/futures-basic.rs index 0be84ad..46a4f64 100644 --- a/ctru-rs/examples/futures-basic.rs +++ b/ctru-rs/examples/futures-basic.rs @@ -12,7 +12,7 @@ use ctru::services::hid::KeyPad; use ctru::services::{Apt, Hid}; use ctru::Gfx; use futures::StreamExt; -use std::os::horizon::thread::ThreadBuilderExt; +use std::os::horizon::thread::BuilderExt; fn main() { ctru::init(); diff --git a/ctru-rs/examples/futures-tokio.rs b/ctru-rs/examples/futures-tokio.rs index 9a85df9..9fc97c9 100644 --- a/ctru-rs/examples/futures-tokio.rs +++ b/ctru-rs/examples/futures-tokio.rs @@ -5,7 +5,7 @@ use ctru::services::hid::KeyPad; use ctru::services::ps::Ps; use ctru::services::{Apt, Hid}; use ctru::Gfx; -use std::os::horizon::thread::ThreadBuilderExt; +use std::os::horizon::thread::BuilderExt; use std::time::Duration; fn main() { diff --git a/ctru-rs/examples/thread-basic.rs b/ctru-rs/examples/thread-basic.rs index 93e684b..690c236 100644 --- a/ctru-rs/examples/thread-basic.rs +++ b/ctru-rs/examples/thread-basic.rs @@ -4,7 +4,7 @@ use ctru::console::Console; use ctru::gfx::Gfx; use ctru::services::apt::Apt; use ctru::services::hid::{Hid, KeyPad}; -use std::os::horizon::thread::ThreadBuilderExt; +use std::os::horizon::thread::BuilderExt; use std::time::Duration; fn main() { diff --git a/ctru-rs/examples/thread-info.rs b/ctru-rs/examples/thread-info.rs index d468935..88dfe62 100644 --- a/ctru-rs/examples/thread-info.rs +++ b/ctru-rs/examples/thread-info.rs @@ -6,7 +6,7 @@ use ctru::console::Console; use ctru::gfx::Gfx; use ctru::services::apt::Apt; use ctru::services::hid::{Hid, KeyPad}; -use std::os::horizon::thread::ThreadBuilderExt; +use std::os::horizon::thread::BuilderExt; fn main() { ctru::init(); diff --git a/ctru-rs/examples/thread-locals.rs b/ctru-rs/examples/thread-locals.rs index 1a40401..571eff7 100644 --- a/ctru-rs/examples/thread-locals.rs +++ b/ctru-rs/examples/thread-locals.rs @@ -5,7 +5,7 @@ use ctru::services::hid::KeyPad; use ctru::services::{Apt, Hid}; use ctru::Gfx; use std::cell::RefCell; -use std::os::horizon::thread::ThreadBuilderExt; +use std::os::horizon::thread::BuilderExt; std::thread_local! { static MY_LOCAL: RefCell<&'static str> = RefCell::new("initial value");