Fix: as_deref -> as_ref for String
This commit is contained in:
parent
12e4d1bd21
commit
6636f376f2
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ pub fn get_switchers(
|
|||
debug!("get_switchers: Retrieved {} switchers from Redis key '{}' for session {}",
|
||||
switchers.len(), redis_key, session_id);
|
||||
for sw in &switchers {
|
||||
debug!(" - Switcher: id={}, label={}", sw.id, sw.label.as_deref().unwrap_or(""));
|
||||
debug!(" - Switcher: id={}, label={}", sw.id, sw.label.as_ref().unwrap_or(""));
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue