微信扫一扫
fn main() { println!("{}", add(3, 4)) } fn add(x: i32, y: i32) -> i32 { return x + y; }
输出: 7
相关推荐