在Rust 2018之前,您必须通过将属性添加 #[macro_use] 到 extern crate util; 语句来从其他包装箱中导入宏。那会从中导入所有宏 util 。或者, #[macro_use(cat, dog)] ...
確定! 回上一頁