Ale*_*vik 7 integer standard-library deprecated rust
我注意到Rust std 页面u8
上的、i8
等旁边有一条弃用注释u16
:
发生了什么事,替代品会是什么?
lko*_*bly 15
类型本身并没有被弃用,只是名为egstd::i8
的包含常量的模块被弃用。例如,std::i8::MIN
被替换为i8::MIN
( docs )。弃用通知中写道:
Deprecating in a future Rust version: all constants in this module replaced by associated constants on i8
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1167 次 |
最近记录: |