let s1:String = String::new();
let s2:String = "".to_string();
println!("{}",s1==s2);
println!("{}",s1.is_empty())
//true
//true
1
共 0 条评论, 1 页
let s1:String = String::new();
let s2:String = "".to_string();
println!("{}",s1==s2);
println!("{}",s1.is_empty())
//true
//true
评论区
写评论还没有评论