mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 16:31:11 +00:00
Use transducer per #329 review suggestion
This commit is contained in:
parent
e092001568
commit
25728ae8f2
1 changed files with 2 additions and 2 deletions
|
|
@ -90,8 +90,8 @@
|
||||||
(remove (fn [[[_ route-data] conflicts]]
|
(remove (fn [[[_ route-data] conflicts]]
|
||||||
(and (:conflicting route-data)
|
(and (:conflicting route-data)
|
||||||
(every? (comp :conflicting second)
|
(every? (comp :conflicting second)
|
||||||
conflicts)))
|
conflicts))))
|
||||||
path-conflicting))
|
path-conflicting)
|
||||||
(not-empty)))
|
(not-empty)))
|
||||||
|
|
||||||
(defn conflicting-paths [conflicts]
|
(defn conflicting-paths [conflicts]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue