Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
journald: fix clippy
unwrap_or_default
warning (#2742)
The latest Clippy emits warnings for uses of `unwrap_or_else` with functions that return a type's `Default::default` value, such as `.unwrap_or_else(String::new)`. Clippy would prefer us to use `unwrap_or_default` instead, which does the same thing. This commit fixes the lint. Personally, I don't really care about this, but it makes the warning go away...
- Loading branch information