You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to keep the main branch clear of clippy warnings -- just so when reviewing a PR any new warnings can be directly attributed to new code.
Current we have 2 warning of this form :-
I am about to create a PR to fix this.
warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration)
--> geo-types/src/line_string.rs:174:5
|
174 | pub fn lines<'a>(&'a self) -> impl ExactSizeIterator + Iterator<Item = Line<T>> + 'a {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::needless_lifetimes)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
The text was updated successfully, but these errors were encountered:
631: Remove clippy warnings. #630 r=frewsxcv a=martinfrances107
- [x ] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/master/CODE_OF_CONDUCT.md).
- [ x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users.
---
Minor fixup: Removes clippy warnings.
Co-authored-by: Martin <martinfrances107@hotmail.com>
I just want to fix a minor issue
I want to keep the main branch clear of clippy warnings -- just so when reviewing a PR any new warnings can be directly attributed to new code.
Current we have 2 warning of this form :-
I am about to create a PR to fix this.
The text was updated successfully, but these errors were encountered: