Fix tracking issue.
This commit is contained in:
parent
24fec0d896
commit
38b9a448c9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ struct SpawnHook {
|
||||||
/// assert_eq!(X.get(), 123);
|
/// assert_eq!(X.get(), 123);
|
||||||
/// }).join().unwrap();
|
/// }).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)
|
pub fn add_spawn_hook<F, G>(hook: F)
|
||||||
where
|
where
|
||||||
F: 'static + Send + Sync + Fn(&Thread) -> G,
|
F: 'static + Send + Sync + Fn(&Thread) -> G,
|
||||||
|
|
Loading…
Add table
Reference in a new issue