mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 12:03:28 +00:00
12 lines
212 B
Rust
12 lines
212 B
Rust
fn main() {
|
|
assert!(true);
|
|
assert!(false);
|
|
assert!(true, "true message");
|
|
assert!(false, "false message");
|
|
|
|
const B: bool = true;
|
|
assert!(B);
|
|
|
|
const C: bool = false;
|
|
assert!(C);
|
|
}
|