diff --git a/src/rcore/point.rs b/src/rcore/point.rs index 1ca1e89..f0bad20 100644 --- a/src/rcore/point.rs +++ b/src/rcore/point.rs @@ -11,6 +11,7 @@ pub struct Point<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx>> { } impl<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx>> PartialEq for Point<'a, Ctx, A> { + /// Note: this doesn't check for [Factory] equality. fn eq(&self, other: &Self) -> bool { self.point == other.point } @@ -31,6 +32,7 @@ impl<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx>> Point<'a, Ctx, A> { self.origin.clone().resolve() } + /// Resolve the object, then map the [ResolutionResult]. pub fn resolve_map( &self, f: impl 'a + FnOnce(ResolutionResult<'a, Ctx, A>) -> B,