resolve or_fun_call clippy lint

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-02 17:09:10 -05:00 committed by June
parent 93cc98a04c
commit cde6fdd741
7 changed files with 21 additions and 13 deletions

View file

@ -1961,7 +1961,7 @@ impl Service {
.get_name(&id)
.ok()
.flatten()
.unwrap_or(id.to_string()),
.unwrap_or_else(|| id.to_string()),
)
}