mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
31 lines
536 B
Rust
31 lines
536 B
Rust
const A: usize =
|
|
// Some constant
|
|
2;
|
|
|
|
const B: usize =
|
|
/* constant */
|
|
3;
|
|
|
|
const C: usize = /* foo */ 5;
|
|
|
|
const D: usize = // baz
|
|
/* Some constant */
|
|
/* ba */
|
|
{
|
|
3
|
|
// foo
|
|
};
|
|
const E: usize = /* foo */ 5;
|
|
const F: usize = { 7 };
|
|
const G: usize =
|
|
/* foooooooooooooooooooooooooooooooooooooooooooooooooooooooo0000000000000000xx00 */
|
|
5;
|
|
const H: usize = /* asdfasdf */
|
|
match G > 1 {
|
|
true => 1,
|
|
false => 3,
|
|
};
|
|
|
|
pub static FOO_BAR: Vec<u8> = //f
|
|
{ vec![] };
|