diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-03-07 07:48:35 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-03-07 08:02:01 +0100 |
commit | 82b4f44dbd75c8f99e9112cdf4c8007250f4930c (patch) | |
tree | 9256769d2fb06cde413c96d09dcf249c1d9d0394 /crates/common/tedge_config/src/models | |
parent | eebff4d8799010a154c1dc31ae4a3eda27b8a6cd (diff) |
Move import to top of file
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
Diffstat (limited to 'crates/common/tedge_config/src/models')
-rw-r--r-- | crates/common/tedge_config/src/models/ipaddress.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/common/tedge_config/src/models/ipaddress.rs b/crates/common/tedge_config/src/models/ipaddress.rs index 3c0edc4a..2c03eba0 100644 --- a/crates/common/tedge_config/src/models/ipaddress.rs +++ b/crates/common/tedge_config/src/models/ipaddress.rs @@ -2,6 +2,7 @@ use serde::{Deserialize, Serialize}; use std::convert::{TryFrom, TryInto}; use std::fmt; use std::net::IpAddr; +use std::net::Ipv4Addr; #[derive(thiserror::Error, Debug, Clone, PartialEq, Eq, Deserialize, Serialize)] pub struct IpAddress(pub IpAddr); @@ -51,7 +52,6 @@ impl From<IpAddress> for IpAddr { #[cfg(test)] use assert_matches::*; -use std::net::Ipv4Addr; use std::net::Ipv6Addr; #[test] |