Merge pull request #29 from brave/renovate/indexmap-2.x #15
Annotations
10 warnings
this returns a `Result<_, ()>`:
src/select.rs#L351
warning: this returns a `Result<_, ()>`
--> src/select.rs:351:5
|
351 | pub fn compile(s: &str) -> Result<Selectors, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/select.rs#L351
warning: this returns a `Result<_, ()>`
--> src/select.rs:351:5
|
351 | pub fn compile(s: &str) -> Result<Selectors, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/iter.rs#L455
warning: this returns a `Result<_, ()>`
--> src/iter.rs:455:5
|
455 | fn select(self, selectors: &str) -> Result<Select<Self>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/iter.rs#L446
warning: this returns a `Result<_, ()>`
--> src/iter.rs:446:5
|
446 | fn select(self, selectors: &str) -> Result<Select<Elements<Self>>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/iter.rs#L455
warning: this returns a `Result<_, ()>`
--> src/iter.rs:455:5
|
455 | fn select(self, selectors: &str) -> Result<Select<Self>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/iter.rs#L446
warning: this returns a `Result<_, ()>`
--> src/iter.rs:446:5
|
446 | fn select(self, selectors: &str) -> Result<Select<Elements<Self>>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/iter.rs#L165
warning: this returns a `Result<_, ()>`
--> src/iter.rs:165:5
|
165 | pub fn select_first(&self, selectors: &str) -> Result<NodeDataRef<ElementData>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/iter.rs#L165
warning: this returns a `Result<_, ()>`
--> src/iter.rs:165:5
|
165 | pub fn select_first(&self, selectors: &str) -> Result<NodeDataRef<ElementData>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
src/iter.rs#L159
warning: this returns a `Result<_, ()>`
--> src/iter.rs:159:5
|
159 | pub fn select(&self, selectors: &str) -> Result<Select<Elements<Descendants>>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `#[warn(clippy::result_unit_err)]` on by default
|
this returns a `Result<_, ()>`:
src/iter.rs#L159
warning: this returns a `Result<_, ()>`
--> src/iter.rs:159:5
|
159 | pub fn select(&self, selectors: &str) -> Result<Select<Elements<Descendants>>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `#[warn(clippy::result_unit_err)]` on by default
|