rust 将String 转换为&'static str[cc]fn string_to_static_str(s: String) -> &'static str { Box::leak(s.into_boxed_str())}[/cc]
確定! 回上一頁