Bootstrap from registry - part 5

This commit is contained in:
mdecimus
2026-01-28 18:59:00 +01:00
parent 0073d7f020
commit 0398a9d28e
47 changed files with 10171 additions and 6194 deletions

View File

@@ -642,7 +642,7 @@ impl ParseValue for trc::Level {
impl ParseValue for trc::EventType {
fn parse_value(value: &str) -> super::Result<Self> {
trc::EventType::try_parse(value).ok_or_else(|| format!("Unknown event type: {value}"))
trc::EventType::parse(value).ok_or_else(|| format!("Unknown event type: {value}"))
}
}