diff --git a/src/rcore/resolution.rs b/src/rcore/resolution.rs index 733f35b..f4de099 100644 --- a/src/rcore/resolution.rs +++ b/src/rcore/resolution.rs @@ -10,6 +10,7 @@ pub enum ResolutionError { } impl ResolutionError { + /// Maps only the [`ResolutionError::Parse`] variant of the overall error. pub fn map_parse(self, f: impl FnOnce(P) -> Px) -> ResolutionError { match self { Self::Lookup(l) => ResolutionError::Lookup(l),