mirror of
https://github.com/masalachai/epp-client.git
synced 2025-02-17 03:42:02 +00:00
Apply cargo fmt
This commit is contained in:
parent
3868e136a6
commit
242bf3630f
@ -37,10 +37,10 @@ impl<'a> Login<'a> {
|
|||||||
ext_uris: Option<&'_ [&'a str]>,
|
ext_uris: Option<&'_ [&'a str]>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let svc_ext = match ext_uris {
|
let svc_ext = match ext_uris {
|
||||||
Some(uris) if ! uris.is_empty() => Some(ServiceExtension {
|
Some(uris) if !uris.is_empty() => Some(ServiceExtension {
|
||||||
ext_uris: Some(uris.iter().map(|&u| u.into()).collect())
|
ext_uris: Some(uris.iter().map(|&u| u.into()).collect()),
|
||||||
}),
|
}),
|
||||||
_ => None
|
_ => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
@ -57,7 +57,7 @@ impl<'a> Login<'a> {
|
|||||||
contact::XMLNS.into(),
|
contact::XMLNS.into(),
|
||||||
domain::XMLNS.into(),
|
domain::XMLNS.into(),
|
||||||
],
|
],
|
||||||
svc_ext
|
svc_ext,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user