mirror of https://github.com/sunface/rust-course
类似Scala的`if (x % 2 == 1) "odd" else "even"`, 或者Haskell的`if (x `mod` 2 == 1) then "odd" else "even"`。pull/1014/head
parent
e8cce23425
commit
eb6980fc47
Loading…
Reference in new issue