Skip to content

Commit 736a98e

Browse files
committed
define the the type in a line
1 parent 864aeb7 commit 736a98e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

diesel/src/pg/types/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,7 @@ pub mod sql_types {
413413
/// assert_eq!(IpNetwork::from_str("10.1.9.32/32").unwrap(), inserted_client.ip_address);
414414
/// # }
415415
/// ```
416-
#[derive(Debug, Clone, Copy, Default)]
417-
pub struct Inet;
416+
#[derive(Debug, Clone, Copy, Default)] pub struct Inet;
418417

419418
#[cfg(feature = "network-address")]
420419
/// The [`CIDR`](https://www.postgresql.org/docs/9.6/static/datatype-net-types.html) SQL type. This type can only be used with `feature = "network-address"`

0 commit comments

Comments
 (0)