Don't use catch all in match

This commit is contained in:
pylbrecht 2019-09-01 19:26:04 +02:00
parent 47a6129332
commit d24568218b

View file

@ -503,7 +503,7 @@ impl GenericPathBuilder for PathBuilder {
},
PathOp::CubicTo(_, _, point) => return Point2D::new(point.x, point.y),
PathOp::QuadTo(_, point) => return Point2D::new(point.x, point.y),
_ => {},
PathOp::Close => {},
};
}
panic!("dead end");