Fix some pedantic clippy warnings

This commit is contained in:
Tom A. Wagner
2021-06-26 12:05:29 +02:00
parent f09fd596c8
commit 7977481689
5 changed files with 28 additions and 31 deletions

View File

@@ -34,7 +34,7 @@ pub(super) struct State {
impl State {
/// Create a new, empty state.
pub fn new() -> Self {
Default::default()
Self::default()
}
/// Add a new item under the specified id.