【发布时间】:2022-02-01 19:15:58
【问题描述】:
【问题讨论】:
标签: rust integer deprecated standard-library
【问题讨论】:
标签: rust integer deprecated standard-library
类型本身并没有被弃用,只是命名为例如模块。 std::i8 包含常量。例如,std::i8::MIN 将被替换为 i8::MIN (docs)。弃用通知说:
Deprecating in a future Rust version: all constants in this module replaced by associated constants on i8
【讨论】:
std::i8 的 modules 等等,其中包含这些常量。