mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Make GroupsPathError and MetadataRetrievalError enums non-exhaustive
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ impl From<GroupsPathError> for VerboseError {
|
||||
match value {
|
||||
GroupsPathError::UndefinedGroup(g) => Self::UndefinedGroupError(g),
|
||||
GroupsPathError::CycleFound(cycle) => Self::CyclicInteractionError(cycle),
|
||||
GroupsPathError::PathfindingError(_) => Self::Other(Box::new(value)),
|
||||
GroupsPathError::PathfindingError(_) | _ => Self::Other(Box::new(value)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user