Skip to content

Commit ac6c55c

Browse files
committed
pub use TypeError
Without this it's hard for callers from outside the crate to work with GeoPoint type invariant errors.
1 parent 8fe9511 commit ac6c55c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ use crate::gpx::{GpxItem, GpxReader};
7373
pub use crate::measure::{DEG, Degree};
7474
use crate::point_type::{GpxCreator, get_course_point_type, get_gpx_creator};
7575
pub use crate::types::GeoPoint;
76-
use crate::types::TypeError;
76+
pub use crate::types::TypeError;
7777

7878
/// An error in a high-level library operation
7979
#[derive(Error, Debug)]

0 commit comments

Comments
 (0)