Rust中文翻译文档. ... 5.27.`const`和`static`. Rust有一个用 const 关键字定义常量的方法: const N: i32 = 5;. 与let绑定不同,你必须标注一个 const 的类型。
確定! 回上一頁