minor: Remove unused warnings

This commit is contained in:
selfhoster selfhoster 2026-09-03 21:53:31 +02:00
commit b37c0665d3
4 changed files with 5 additions and 1 deletions

View file

@ -137,6 +137,7 @@ impl Dn {
/// Overrides the DN hostname (`dc` fields) with the provided host.
///
/// When no `dc` fields are present, they are only added when `force` is true.
#[expect(unused)]
pub fn set_hostname(&mut self, host: &str, force: bool) {
let domain_components: Vec<String> =
host.split('.').map(|x| dn_escape(x).to_string()).collect();