Skip to content

Instantly share code, notes, and snippets.

@noxasaxon
Created November 18, 2021 03:02
Show Gist options
  • Save noxasaxon/02abf6b46a162c200bd13984b60a169d to your computer and use it in GitHub Desktop.
Save noxasaxon/02abf6b46a162c200bd13984b60a169d to your computer and use it in GitHub Desktop.
doctest-testing
///```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