Skip to main content

libutils_issue/
conversions.rs

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