diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-18 14:48:59 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-18 14:48:59 +0100 |
commit | 0295809436d8e178a7d0528b47b9d4313b292eef (patch) | |
tree | 55671566fb700328c81a34b322cfa55309e098f8 /src/util/docker.rs | |
parent | 5bee5329b823431fd3c971f75281084617766edd (diff) |
Run `cargo fmt`
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/util/docker.rs')
-rw-r--r-- | src/util/docker.rs | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/src/util/docker.rs b/src/util/docker.rs index 32af8de..33fc9eb 100644 --- a/src/util/docker.rs +++ b/src/util/docker.rs @@ -11,7 +11,18 @@ use serde::Deserialize; use serde::Serialize; -#[derive(parse_display::Display ,Serialize, Deserialize, Clone, Debug, Hash, Eq, PartialEq, Ord, PartialOrd)] +#[derive( + parse_display::Display, + Serialize, + Deserialize, + Clone, + Debug, + Hash, + Eq, + PartialEq, + Ord, + PartialOrd, +)] #[display("{0}")] pub struct ImageName(String); @@ -27,8 +38,18 @@ impl AsRef<str> for ImageName { } } - -#[derive(parse_display::Display, Serialize, Deserialize, Clone, Debug, Hash, Eq, PartialEq, Ord, PartialOrd)] +#[derive( + parse_display::Display, + Serialize, + Deserialize, + Clone, + Debug, + Hash, + Eq, + PartialEq, + Ord, + PartialOrd, +)] #[serde(transparent)] #[display("{0}")] pub struct ContainerHash(String); @@ -44,4 +65,3 @@ impl AsRef<str> for ContainerHash { self.0.as_ref() } } - |