Skip to content

Commit 1bdc8b4

Browse files
committed
fix MSRV
1 parent 3615b28 commit 1bdc8b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/chart/context.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,19 +547,19 @@ pub(super) enum Coord3D<X, Y, Z> {
547547
impl<X, Y, Z> Coord3D<X, Y, Z> {
548548
fn get_x(&self) -> &X {
549549
match self {
550-
Self::X(ret) => ret,
550+
Coord3D::X(ret) => ret,
551551
_ => panic!("Invalid call!"),
552552
}
553553
}
554554
fn get_y(&self) -> &Y {
555555
match self {
556-
Self::Y(ret) => ret,
556+
Coord3D::Y(ret) => ret,
557557
_ => panic!("Invalid call!"),
558558
}
559559
}
560560
fn get_z(&self) -> &Z {
561561
match self {
562-
Self::Z(ret) => ret,
562+
Coord3D::Z(ret) => ret,
563563
_ => panic!("Invalid call!"),
564564
}
565565
}

0 commit comments

Comments
 (0)