docs: Fix the version number that cannot be pulled (#247) #5
clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.88.0-nightly (00095b3da 2025-04-03)
- cargo 1.88.0-nightly (a6c604d1b 2025-03-26)
- clippy 0.1.87 (00095b3da4 2025-04-03)
Annotations
Check warning on line 481 in elasticsearch/src/http/transport.rs
github-actions / clippy
doc list item overindented
warning: doc list item overindented
--> elasticsearch/src/http/transport.rs:481:9
|
481 | /// identifies the deployment instance.
| ^^^^^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
Check warning on line 175 in elasticsearch/src/http/request.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
warning: the following explicit lifetimes could be elided: 'a
--> elasticsearch/src/http/request.rs:175:6
|
175 | impl<'a> Body for &'a str {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
175 - impl<'a> Body for &'a str {
175 + impl Body for &str {
|
Check warning on line 161 in elasticsearch/src/http/request.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
warning: the following explicit lifetimes could be elided: 'a
--> elasticsearch/src/http/request.rs:161:6
|
161 | impl<'a> Body for &'a [u8] {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
161 - impl<'a> Body for &'a [u8] {
161 + impl Body for &[u8] {
|
Check warning on line 53 in elasticsearch/src/http/request.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
warning: the following explicit lifetimes could be elided: 'a
--> elasticsearch/src/http/request.rs:53:6
|
53 | impl<'a, B: ?Sized> Body for &'a B
| ^^ ^^
|
= 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
|
53 - impl<'a, B: ?Sized> Body for &'a B
53 + impl<B: ?Sized> Body for &B
|
Check warning on line 57 in elasticsearch/src/lib.rs
github-actions / clippy
doc list item overindented
warning: doc list item overindented
--> elasticsearch/src/lib.rs:57:5
|
57 | //! caution because it is possible that breaking changes are made to these APIs in a minor version.
| ^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
= note: `#[warn(clippy::doc_overindented_list_items)]` on by default