Created
April 29, 2021 21:01
-
-
Save glommer/0d1a419a8fcf4d7e1cad95c8803149da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn spawn<F, T>(f: F) -> JoinHandle<T> | |
where | |
F: FnOnce() -> T, | |
F: Send + 'static, | |
T: Send + 'static, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment