Skip to content

Commit 29a96d8

Browse files
Update wicketd/src/rss_config.rs
help rustfmt with long strings :D Co-authored-by: John Gallagher <john@oxidecomputer.com>
1 parent e1db2d2 commit 29a96d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wicketd/src/rss_config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,8 @@ pub fn validate_rack_subnet(
716716

717717
// Do not allow addresses more specific than /56
718718
if rack_subnet_address.octets()[7..].iter().any(|x| *x != 0x00) {
719-
return Err("rack subnet address is /56, but a more specific prefix was provided".into());
719+
return Err("rack subnet address is /56, \
720+
but a more specific prefix was provided".into());
720721
};
721722

722723
Ipv6Net::new(rack_subnet_address, 56).map_err(|e| e.to_string())

0 commit comments

Comments
 (0)