RosettaCodeData/Task/Assertions/Rust/assertions.rust

4 lines
49 B
Plaintext

let x = 42;
assert!(x == 42);
assert_eq!(x, 42);