refactor: from string impl

Remove redudant impl's, use `.as_str()`
This commit is contained in:
Jack Wills
2023-09-17 18:41:10 +00:00
parent 18c3ed4337
commit ca79893df5
3 changed files with 5 additions and 34 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ impl DockerData {
(
i.state == Some("running".to_owned())
|| i.state == Some("restarting".to_owned()),
ContainerId::from(id),
ContainerId::from(id.as_str()),
)
})
})