Skip to content

Instantly share code, notes, and snippets.

Created February 8, 2018 10:51
Show Gist options
  • Save anonymous/56d5eb5927c50b2a3a22f67723363f45 to your computer and use it in GitHub Desktop.
Save anonymous/56d5eb5927c50b2a3a22f67723363f45 to your computer and use it in GitHub Desktop.
Rust code shared from the playground
/*! Sample documentation.
Just a library with some code:
```rust,no_run
let mut p = String::from("/path");
p.clear(); /* some comment */
```
*/
pub fn hello() -> i32 {
8
}
fn main() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment