rs-basic/crates/arithmetics/src/main.rs
Christoph J. Scherr ce71b2ceec
Some checks failed
cargo devel CI / cargo CI (push) Failing after 32s
reorganize the workspace
2025-03-14 22:24:47 +01:00

11 lines
427 B
Rust

// If you're confused what this is: it's an annotation that tells a common linting thing to shut up
// about this program calculating things that should normally be precalculated
//
// If you're still confused, feel free to ignore this, it's not important
#![allow(clippy::eq_op)] // thats the point
#![allow(clippy::identity_op)] // thats the point
fn main() {
println!("1^1={}", 1 ^ 1);
println!("0^1={}", 0 ^ 1);
}