Skip to content

Commit 7b2d3aa

Browse files
committed
fix: unnecessary cfg
1 parent 42358a3 commit 7b2d3aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlx-postgres/src/type_checking.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ impl_type_checking!(
7777
#[cfg(feature = "rust_decimal")]
7878
sqlx::types::Decimal,
7979

80-
#[cfg(all(feature = "ipnet", not(feature = "ipnetwork")))]
81-
sqlx::types::ipnet::IpNet,
82-
8380
#[cfg(feature = "ipnetwork")]
8481
sqlx::types::ipnetwork::IpNetwork,
8582

83+
#[cfg(feature = "ipnet")]
84+
sqlx::types::ipnet::IpNet,
85+
8686
#[cfg(feature = "mac_address")]
8787
sqlx::types::mac_address::MacAddress,
8888

0 commit comments

Comments
 (0)