Skip to content

Commit fdc41dd

Browse files
committed
Fix alignment
1 parent 6b2f26e commit fdc41dd

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/types/mod.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -573,18 +573,18 @@ impl RawToSql for IpAddr {
573573
match *self {
574574
IpAddr::Ipv4Addr(a, b, c, d) => {
575575
try!(raw.write_all(&[2, // family
576-
32, // bits
577-
0, // is_cidr
578-
4, // nb
579-
a, b, c, d // addr
580-
]));
576+
32, // bits
577+
0, // is_cidr
578+
4, // nb
579+
a, b, c, d // addr
580+
]));
581581
}
582582
IpAddr::Ipv6Addr(a, b, c, d, e, f, g, h) => {
583583
try!(raw.write_all(&[3, // family
584-
128, // bits
585-
0, // is_cidr
586-
16, // nb
587-
]));
584+
128, // bits
585+
0, // is_cidr
586+
16, // nb
587+
]));
588588
try!(raw.write_be_u16(a));
589589
try!(raw.write_be_u16(b));
590590
try!(raw.write_be_u16(c));

0 commit comments

Comments
 (0)