/// 函数学习 fn main() { println!("function test!"); let a = 34; let b =45; let sum = add(a,b); println!("sum={}",sum); } fn add(a:i32,b:i32)->i32{ a+b }