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    #[inline]
19    fn from(value: &'static str) -> Self {return Self {
20        name: value,
21        description: None,
22        severity: Severity::Critical
23    }}
24}