From 6e64fd97e4c8c6b9ec2210ac2ede4326693aa28d Mon Sep 17 00:00:00 2001 From: timofey Date: Sat, 1 Jul 2023 14:46:17 +0000 Subject: [PATCH] simplify `Vec::visit` (`singular`) --- src/rstd/singular.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rstd/singular.rs b/src/rstd/singular.rs index 30a7a04..83e4924 100644 --- a/src/rstd/singular.rs +++ b/src/rstd/singular.rs @@ -54,6 +54,6 @@ impl<'a, Ctx: Context<'a>> Resolver<'a, Ctx> for SingularResolver<'a, Ctx> { impl<'a, Ctx: Context<'a>> PointsVisitor<'a, Ctx> for Vec>> { fn visit>(&mut self, point: &Point<'a, Ctx, A>) { - self.push(Rc::new(point.clone()) as Rc>); + self.push(Rc::new(point.clone()) as _); } }