Skip to content

Commit

Permalink
rust: add integer literal samples
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jun 19, 2019
1 parent c488725 commit 0d699b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/visual/samples/rust
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ enum HTMLFragment {
text(~str),
}

fn int_literals_delimiter() {
let million = 1000_000_000;
let red_color = 0xff_60_60;
}

// Some hidden lines by starting with hash
# extern crate core;
# use core::str;
Expand Down

0 comments on commit 0d699b0

Please sign in to comment.