1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//^ //^ HEAD //^ //> HEAD -> SUPER use super::{ Issue, severity::Severity }; //^ //^ IMPLEMENTATIONS //^ //> IMPLEMENTATIONS -> &'STATIC STR const impl From<&'static str> for Issue { fn from(value: &'static str) -> Self {return Self { name: value, severity: Severity::Critical, .. }} }