rust field is never read remove warning code example
Example: rust field is never read remove warning
//Place #[allow(dead_code)] above the line that is giving the warning
#[allow(dead_code)]
struct GivingWarning;
//Place #[allow(dead_code)] above the line that is giving the warning
#[allow(dead_code)]
struct GivingWarning;