pub fn concat(parts: &[&str]) -> String
字符串连接,将参数列表拼接为一个字符串
use librarys::string_utils::concat; assert_eq!(concat(&["hello", "world"]), "helloworld"); assert_eq!(concat(&["a", "b", "c"]), "abc");