Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created July 17, 2018 20:32
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 rust-play/330027468ce9deada3cca5632b60cd1c to your computer and use it in GitHub Desktop.
Save rust-play/330027468ce9deada3cca5632b60cd1c to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
#![allow(unused)]
#![doc(hi)]
fn main() {
let mut /* hi */ x: i8 = 120;
x += 10;
if
/* x */
x > 10 {
println!("hi\x0a");
}
println!("{}", x);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment