📜  rust 字段永远不会被读取删除警告 - Rust 代码示例

📅  最后修改于: 2022-03-11 14:49:25.209000             🧑  作者: Mango

代码示例1
//Place #[allow(dead_code)] above the line that is giving the warning

#[allow(dead_code)]
struct GivingWarning;