mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-13 02:50:47 +00:00
ldap: rustfmt
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
378e2380b7
commit
5791af8ff4
@ -352,13 +352,12 @@ impl<'a> Display for FilterElement<'a> {
|
||||
write!(f, "({attr}={value})")?;
|
||||
}
|
||||
FilterElement::Verbatim(verbatim) => {
|
||||
|
||||
if !verbatim.starts_with('(') && !verbatim.ends_with(')') {
|
||||
write!(f, "({verbatim})")?
|
||||
} else {
|
||||
write!(f, "{verbatim}")?
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user