Feature/setup ci #2
ci.yml
on: pull_request
Format
17s
Clippy
23s
Build & Test (Debug)
22s
Build (Release)
22s
Annotations
8 errors
|
Clippy
Process completed with exit code 101.
|
|
Clippy:
types/src/hand.rs#L17
accessing first element with `cards.get(0)`
|
|
Clippy:
types/src/game_state.rs#L402
accessing first element with `worst_to_first.get(0)`
|
|
Clippy:
types/src/game_state.rs#L216
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
|
|
Clippy:
types/src/game_state.rs#L121
using `contains()` instead of `iter().any()` is more efficient
|
|
Clippy:
types/src/card_play.rs#L29
non-canonical implementation of `partial_cmp` on an `Ord` type
|
|
Clippy:
types/src/card_play.rs#L8
you are deriving `Ord` but have implemented `PartialOrd` explicitly
|
|
Clippy:
types/src/card.rs#L52
non-canonical implementation of `partial_cmp` on an `Ord` type
|