-
Notifications
You must be signed in to change notification settings - Fork 69
fix: cleanup lints #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cleanup lints #260
Conversation
|
Can you also drop that |
The `Error::FeatureHasNoGeometry` variant contains the `FeatureType`, which drastically increases the total size of the returned enum. This has been boxed to 1. fix the lint 2. decrease the width of the type
Changing an enums private associated data is not "possibly breaking" in any sane world. Also: include GH links
7bf0b20 to
3979292
Compare
michaelkirk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
| * Fix `geo_rect_conversion_test` to conform to the correctly-wound `Polygon` output from `geo_types::geometry::Rect.to_polygon` | ||
| * See https://github.com/georust/geojson/issues/257 | ||
| * Potentially breaking: Box `Error::FeatureHasNoGeometry` inner type (`Box<Feature>`). This decreases the size of `Error` from 200 to 48. | ||
| * Decreased the size of the `Error` enum from 200 to 48. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, I tweaked the ChangeLog entry - I can't see how this would be potentially breaking in the semver sense (tho maybe in the https://www.xkcd.com/1172/ sense).
CHANGES.mdif knowledge of this change could be valuable to users.Error::FeatureHasNoGeometryto wrap aBox<Feature>instead of aFeature. This reduces the size of the enum from 200 to 48.