diff --git a/src/lib.rs b/src/lib.rs index 5576d70..be40feb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -283,30 +283,6 @@ impl Builder { } } -impl
Index {
- type Output = P;
-
- fn index(&self, index: PointId) -> &Self::Output {
- &self.points[index.0 as usize]
- }
-}
-
-impl {
- type Output = P;
-
- fn index(&self, index: PointId) -> &Self::Output {
- &self[index.0 as usize]
- }
-}
-
-impl Index {
+ type Output = P;
+
+ fn index(&self, index: PointId) -> &Self::Output {
+ &self.points[index.0 as usize]
+ }
+}
+
+impl {
+ type Output = P;
+
+ fn index(&self, index: PointId) -> &Self::Output {
+ &self[index.0 as usize]
+ }
+}
+
+impl