Browse Source

Rename ThreadBuilderExt to BuilderExt

pull/46/head
AzureMarker 3 years ago
parent
commit
ad444a51c9
No known key found for this signature in database
GPG Key ID: 47A133F3BF9D03D3
  1. 2
      ctru-rs/examples/futures-basic.rs
  2. 2
      ctru-rs/examples/futures-tokio.rs
  3. 2
      ctru-rs/examples/thread-basic.rs
  4. 2
      ctru-rs/examples/thread-info.rs
  5. 2
      ctru-rs/examples/thread-locals.rs

2
ctru-rs/examples/futures-basic.rs

@ -12,7 +12,7 @@ use ctru::services::hid::KeyPad;
use ctru::services::{Apt, Hid}; use ctru::services::{Apt, Hid};
use ctru::Gfx; use ctru::Gfx;
use futures::StreamExt; use futures::StreamExt;
use std::os::horizon::thread::ThreadBuilderExt; use std::os::horizon::thread::BuilderExt;
fn main() { fn main() {
ctru::init(); ctru::init();

2
ctru-rs/examples/futures-tokio.rs

@ -5,7 +5,7 @@ use ctru::services::hid::KeyPad;
use ctru::services::ps::Ps; use ctru::services::ps::Ps;
use ctru::services::{Apt, Hid}; use ctru::services::{Apt, Hid};
use ctru::Gfx; use ctru::Gfx;
use std::os::horizon::thread::ThreadBuilderExt; use std::os::horizon::thread::BuilderExt;
use std::time::Duration; use std::time::Duration;
fn main() { fn main() {

2
ctru-rs/examples/thread-basic.rs

@ -4,7 +4,7 @@ use ctru::console::Console;
use ctru::gfx::Gfx; use ctru::gfx::Gfx;
use ctru::services::apt::Apt; use ctru::services::apt::Apt;
use ctru::services::hid::{Hid, KeyPad}; use ctru::services::hid::{Hid, KeyPad};
use std::os::horizon::thread::ThreadBuilderExt; use std::os::horizon::thread::BuilderExt;
use std::time::Duration; use std::time::Duration;
fn main() { fn main() {

2
ctru-rs/examples/thread-info.rs

@ -6,7 +6,7 @@ use ctru::console::Console;
use ctru::gfx::Gfx; use ctru::gfx::Gfx;
use ctru::services::apt::Apt; use ctru::services::apt::Apt;
use ctru::services::hid::{Hid, KeyPad}; use ctru::services::hid::{Hid, KeyPad};
use std::os::horizon::thread::ThreadBuilderExt; use std::os::horizon::thread::BuilderExt;
fn main() { fn main() {
ctru::init(); ctru::init();

2
ctru-rs/examples/thread-locals.rs

@ -5,7 +5,7 @@ use ctru::services::hid::KeyPad;
use ctru::services::{Apt, Hid}; use ctru::services::{Apt, Hid};
use ctru::Gfx; use ctru::Gfx;
use std::cell::RefCell; use std::cell::RefCell;
use std::os::horizon::thread::ThreadBuilderExt; use std::os::horizon::thread::BuilderExt;
std::thread_local! { std::thread_local! {
static MY_LOCAL: RefCell<&'static str> = RefCell::new("initial value"); static MY_LOCAL: RefCell<&'static str> = RefCell::new("initial value");

Loading…
Cancel
Save