diff --git a/src/rcore/singular.rs b/src/rcore/singular.rs index 4c6af2c..22447a9 100644 --- a/src/rcore/singular.rs +++ b/src/rcore/singular.rs @@ -54,3 +54,9 @@ impl Display for SingularError { } impl Error for SingularError {} + +impl<'a, Ctx: Context<'a>> PointsVisitor<'a, Ctx> for Vec>> { + fn visit>(&mut self, point: &Point<'a, Ctx, A>) { + self.push(Arc::new(point.clone()) as _); + } +} diff --git a/src/rstd/singular.rs b/src/rstd/singular.rs index 998122e..aa90ef9 100644 --- a/src/rstd/singular.rs +++ b/src/rstd/singular.rs @@ -59,9 +59,3 @@ impl<'a, Ctx: Context<'a>> Resolver<'a, Ctx> for SingularResolver<'a, Ctx> { .unwrap_or_else(Ctx::pure) } } - -impl<'a, Ctx: Context<'a>> PointsVisitor<'a, Ctx> for Vec>> { - fn visit>(&mut self, point: &Point<'a, Ctx, A>) { - self.push(Arc::new(point.clone()) as _); - } -}