mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
Fix tracking issue.
This commit is contained in:
parent
24fec0d896
commit
38b9a448c9
@ -83,7 +83,7 @@ struct SpawnHook {
|
||||
/// assert_eq!(X.get(), 123);
|
||||
/// }).join().unwrap();
|
||||
/// ```
|
||||
#[unstable(feature = "thread_spawn_hook", issue = "none")]
|
||||
#[unstable(feature = "thread_spawn_hook", issue = "132951")]
|
||||
pub fn add_spawn_hook<F, G>(hook: F)
|
||||
where
|
||||
F: 'static + Send + Sync + Fn(&Thread) -> G,
|
||||
|
Loading…
Reference in New Issue
Block a user