Update Examples
parent
8d862ef2bb
commit
1dc8f530e3
@ -703,7 +703,7 @@ fn main
|
||||
//! Note more literate logical operators
|
||||
let big_n =
|
||||
if n < 10 and n > -10
|
||||
println! ", and is small, × 10"
|
||||
println! ", and is small, * 10"
|
||||
// This expression returns an `i32`.
|
||||
10 * n
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user