Result from running on a few crates #553
Labels
C-question
Category: Questions
S-needs-discussion
Status: Needs further discussion before merging or work can be started
PR on racer: racer-rust/racer#472
PR on rustful: Ogeon/rustful#91
PR on rust-bindgen: https://github.com/crabtw/rust-bindgen/pull/252
PR on quickcheck: BurntSushi/quickcheck#118
PR on Cargo: rust-lang/cargo#2282
Results
On cargo
next()
-ed somewhere else in the loop;could not use
cloned()
as suggested by map_clone;On racer
str_to_string needs a macro check.(#566)I did not fix the explicit_counter_loop because of types (it'd need a cast u32 ↔ usize cast IIRC). This needs discussion.
On rustful
I think most if not all of the needless_lifetimes are false positive(#599) and I don't thinkRouteIter<Split<'a, u8, fn(&u8) -> bool>>
is that bad a type.On rust-bindgen
Again, I think the remaining needless_lifetimes is a false positive.
On quickcheck
I don't think linkedlist should lint when implementing a public trait on
LinkedList<_>
: The trait is only implemented in case users would want to useLinkedList<_>
, that's not a use ofLinkedList<_>
in the library itself.Cyclomatic complexity lint
The cyclomatic complexity warns about:
In rustful all of them are unfair because caused by calls to a relatively sane macro.
The text was updated successfully, but these errors were encountered: