Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DaraghD committed Dec 25, 2023
1 parent 7637a73 commit 6708dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl<State: Clone + Send + Sync + 'static> Router<State> {
) {
self.method_map
.entry(method)
.or_insert_with(MethodRouter::new)
.or_default()
.add(path, ep)
.unwrap()
}
Expand Down

0 comments on commit 6708dff

Please sign in to comment.