Created
November 18, 2021 03:02
-
-
Save noxasaxon/02abf6b46a162c200bd13984b60a169d to your computer and use it in GitHub Desktop.
doctest-testing
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
///```rust | |
/// use ex00::born_to_be_alive; | |
/// let thread = born_to_be_alive(); | |
/// let _ = thread.join(); | |
/// | |
/// ``` | |
pub fn born_to_be_alive() -> JoinHandle<()> { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment