Skip to content

Commit 7fc654d

Browse files
authored
make PolylineError clonable (#54)
1 parent add9d0f commit 7fc654d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
* Derive `Clone` for `PolyLineError`
6+
* https://github.com/georust/polyline/pull/54
7+
38
## 0.11.0
49

510
* Speed up encode function (now runs in ~72% less time / 3.5x improvement):

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use geo_types::Coord;
44

5-
#[derive(Debug, PartialEq)]
5+
#[derive(Debug, PartialEq, Clone)]
66
#[non_exhaustive]
77
pub enum PolylineError {
88
LongitudeCoordError {

0 commit comments

Comments
 (0)