File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424/// Extensions on [`std::thread::Builder`] for the Nintendo 3DS.
2525///
2626/// [`std::thread::Builder`]: crate::thread::Builder
27- pub trait ThreadBuilderExt : Sized {
27+ pub trait BuilderExt : Sized {
2828 /// Sets the priority level for the new thread.
2929 ///
3030 /// Low values gives the thread higher priority. For userland apps, this has
@@ -53,7 +53,7 @@ pub trait ThreadBuilderExt: Sized {
5353 fn processor_id ( mut self , processor_id : i32 ) -> Self ;
5454}
5555
56- impl ThreadBuilderExt for crate :: thread:: Builder {
56+ impl BuilderExt for crate :: thread:: Builder {
5757 fn priority ( mut self , priority : i32 ) -> Self {
5858 self . native_options . priority = Some ( priority) ;
5959 self
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ pub struct BuilderOptions {
292292 /// The spawned thread's priority value
293293 #[ cfg( target_os = "horizon" ) ]
294294 pub ( crate ) priority : Option < i32 > ,
295- /// The processor to spawn the thread on. See `os::horizon::thread::ThreadBuilderExt` .
295+ /// The processor to spawn the thread on. See [ `os::horizon::thread::BuilderExt`] .
296296 #[ cfg( target_os = "horizon" ) ]
297297 pub ( crate ) processor_id : Option < i32 > ,
298298}
You can’t perform that action at this time.
0 commit comments