make stringified names mirror variant names

This commit is contained in:
Charles Hall 2024-06-04 12:25:37 -07:00
parent deb09d8c3c
commit a8a7cece1d
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -57,10 +57,10 @@ impl FoundIn {
/// Returns a stringified representation of the current value
fn as_str(&self) -> &'static str {
match self {
FoundIn::Cache => "hit",
FoundIn::Database => "miss-database",
FoundIn::Remote => "miss-remote",
FoundIn::Nothing => "not-found",
FoundIn::Cache => "Cache",
FoundIn::Database => "Database",
FoundIn::Remote => "Remote",
FoundIn::Nothing => "Nothing",
}
}