const fn one_entry(i: usize) -> u64
构建多项式除法表的一个条目。
我们还不能在这里写 for _ in 0..8:for 循环依赖于 Iterator::next,而在稳定的 Rust 中,它不是 const。在 const_for 特性(跟踪问题 #87575)稳定之前,在 const fn 中,while 循环是唯一的选择。
for _ in 0..8
for
Iterator::next
const
const_for
const fn
while