mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Don't use catch all in match
This commit is contained in:
parent
47a6129332
commit
d24568218b
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ impl GenericPathBuilder for PathBuilder {
|
||||||
},
|
},
|
||||||
PathOp::CubicTo(_, _, point) => return Point2D::new(point.x, point.y),
|
PathOp::CubicTo(_, _, point) => return Point2D::new(point.x, point.y),
|
||||||
PathOp::QuadTo(_, point) => return Point2D::new(point.x, point.y),
|
PathOp::QuadTo(_, point) => return Point2D::new(point.x, point.y),
|
||||||
_ => {},
|
PathOp::Close => {},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
panic!("dead end");
|
panic!("dead end");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue