chore: clippy todo warn
This commit is contained in:
@@ -191,7 +191,8 @@ impl DockerData {
|
|||||||
.into_iter()
|
.into_iter()
|
||||||
.filter_map(|f| match f.id {
|
.filter_map(|f| match f.id {
|
||||||
Some(_) => {
|
Some(_) => {
|
||||||
if self.containerised && f.command
|
if self.containerised
|
||||||
|
&& f.command
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map_or(false, |c| c.starts_with(ENTRY_POINT))
|
.map_or(false, |c| c.starts_with(ENTRY_POINT))
|
||||||
&& self.args.show_self
|
&& self.args.show_self
|
||||||
|
|||||||
+6
-1
@@ -1,5 +1,10 @@
|
|||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![warn(clippy::unused_async, clippy::unwrap_used, clippy::expect_used)]
|
#![warn(
|
||||||
|
clippy::expect_used,
|
||||||
|
clippy::todo,
|
||||||
|
clippy::unused_async,
|
||||||
|
clippy::unwrap_used
|
||||||
|
)]
|
||||||
// Warning - These are indeed pedantic
|
// Warning - These are indeed pedantic
|
||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![warn(clippy::nursery)]
|
#![warn(clippy::nursery)]
|
||||||
|
|||||||
Reference in New Issue
Block a user