Skip to content

Instantly share code, notes, and snippets.

@cuongld2
Created September 17, 2020 10:45
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 cuongld2/c16d5e75204715faa24146b866628a23 to your computer and use it in GitHub Desktop.
Save cuongld2/c16d5e75204715faa24146b866628a23 to your computer and use it in GitHub Desktop.
Expression in Rust
let y = {
let x = 3;
x + 1
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment