mirror of
https://github.com/lldap/lldap.git
synced 2026-07-25 17:58:44 +00:00
meta: Fix cargo clippy failures (format strings)
This commit is contained in:
committed by
nitnelave
parent
53e62ecf5a
commit
87e9311a44
@@ -14,13 +14,13 @@ pub fn database_url() -> String {
|
||||
pub fn ldap_url() -> String {
|
||||
let port = var("LLDAP_LDAP_PORT").ok();
|
||||
let port = port.unwrap_or("3890".to_string());
|
||||
format!("ldap://localhost:{}", port)
|
||||
format!("ldap://localhost:{port}")
|
||||
}
|
||||
|
||||
pub fn http_url() -> String {
|
||||
let port = var("LLDAP_HTTP_PORT").ok();
|
||||
let port = port.unwrap_or("17170".to_string());
|
||||
format!("http://localhost:{}", port)
|
||||
format!("http://localhost:{port}")
|
||||
}
|
||||
|
||||
pub fn admin_dn() -> String {
|
||||
|
||||
Reference in New Issue
Block a user