为了了解Rust的工作原理,我决定研究一个基于终端的文本编辑器,叫做 Iota。我克隆了仓库并运行了
cargo build
,结果收到了以下提示:
我应该把error: *if let* syntax is experimental help: add #![feature(if_let)] to the crate attributes to enable
#![feature(if_let)]
添加到哪个crate属性中呢?