大部分Rust初学者是从类似下面这个代码示例中接触到'static生命周期的:. fn main() {. let str_literal: &'static str = "str literal";. }.
確定! 回上一頁