Skip to content

Instantly share code, notes, and snippets.

@KodrAus
Created August 22, 2016 11:19
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 KodrAus/ed171dee48b03506cf80ecc862751b20 to your computer and use it in GitHub Desktop.
Save KodrAus/ed171dee48b03506cf80ecc862751b20 to your computer and use it in GitHub Desktop.
Rust Docs
//! # My Library
//!
//! This is a module-level doc comment.
//! Standard markdown is supported
/// This is a comment for an item.
///
/// Code samples are compiled and tested:
///
/// ```
/// let person = Person;
/// ```
struct Person;
fn main() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment