11 lines
156 B
Rust
11 lines
156 B
Rust
fn main() {
|
|
if true {
|
|
println!("answer: {}", a_func();
|
|
} else {
|
|
println!("don't think so.");
|
|
}
|
|
}
|
|
|
|
fn a_func() -> i32 {
|
|
42
|
|
}
|