mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
Remove unnecessary let
This commit is contained in:
parent
a8d6b32389
commit
2ba01028a0
1 changed files with 2 additions and 3 deletions
|
|
@ -378,9 +378,8 @@
|
|||
(route-names [_]
|
||||
names)
|
||||
(match-by-path [_ path]
|
||||
(let [slashed-path (ensure-slash path)]
|
||||
(or (match-by-path static-router path)
|
||||
(match-by-path wildcard-router path))))
|
||||
(or (match-by-path static-router path)
|
||||
(match-by-path wildcard-router path)))
|
||||
(match-by-name [_ name]
|
||||
(or (match-by-name static-router name)
|
||||
(match-by-name wildcard-router name)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue