Cargo fmt

This commit is contained in:
Igor Katson 2024-12-03 21:12:33 +00:00
parent 1fb3d7cf55
commit 131e978a22
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -80,13 +80,11 @@ pub fn try_parse_ssdp<'a, 'h>(
}
match (host, man, st) {
(Some(host), Some(man), Some(st)) => {
Ok(SsdpMessage::MSearch(SsdpMSearchRequest {
host: BStr::new(host),
man: BStr::new(man),
st: BStr::new(st),
}))
}
(Some(host), Some(man), Some(st)) => Ok(SsdpMessage::MSearch(SsdpMSearchRequest {
host: BStr::new(host),
man: BStr::new(man),
st: BStr::new(st),
})),
_ => bail!("not all of host, man and st are set"),
}
}