chore: clippy todo warn

This commit is contained in:
Jack Wills
2023-02-03 21:49:19 +00:00
parent 799800ef23
commit d48e6561f9
2 changed files with 14 additions and 8 deletions
+2 -1
View File
@@ -191,7 +191,8 @@ impl DockerData {
.into_iter()
.filter_map(|f| match f.id {
Some(_) => {
if self.containerised && f.command
if self.containerised
&& f.command
.as_ref()
.map_or(false, |c| c.starts_with(ENTRY_POINT))
&& self.args.show_self
+6 -1
View File
@@ -1,5 +1,10 @@
#![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
#![warn(clippy::pedantic)]
#![warn(clippy::nursery)]