Skip to content

Instantly share code, notes, and snippets.

@noxasaxon
Created November 18, 2021 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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