doc: update feature comparison table in README for clarity and accuracy #48
Annotations
4 warnings
this `map_or` can be simplified:
rar-common/src/database/options.rs#L501
warning: this `map_or` can be simplified
--> rar-common/src/database/options.rs:501:9
|
501 | self.as_ref().map_or(false, |set| set.env_matches(needle))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `self.as_ref().is_some_and(|set| set.env_matches(needle))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
|
this `map_or` can be simplified:
rar-common/src/database/finder.rs#L547
warning: this `map_or` can be simplified
--> rar-common/src/database/finder.rs:547:5
|
547 | (*actortype).fetch_id().map_or(false, |id| id == 0)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `((*actortype).fetch_id() == Some(0))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
|
this `map_or` can be simplified:
rar-common/src/database/finder.rs#L543
warning: this `map_or` can be simplified
--> rar-common/src/database/finder.rs:543:5
|
543 | (*actortype).fetch_id().map_or(false, |id| id == 0)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `((*actortype).fetch_id() == Some(0))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
|
the following explicit lifetimes could be elided: 'de:
rar-common/src/database/actor.rs#L122
warning: the following explicit lifetimes could be elided: 'de
--> rar-common/src/database/actor.rs:122:14
|
122 | impl<'de> Visitor<'de> for IdVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
122 - impl<'de> Visitor<'de> for IdVisitor {
122 + impl Visitor<'_> for IdVisitor {
|
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
github-pages
Expired
|
1.38 MB |
sha256:93b8f5ad5b447fb1b0e14586472aea6cc8a8062babde32bbaa187fda0f81d8e1
|
|