🔥 Remove duplicated check-fn

This commit is contained in:
Andrey Antukh 2025-07-03 10:50:09 +02:00
parent a2b8f19ff3
commit b627c10737

View File

@ -546,9 +546,6 @@
(def check-segment
(sm/check-fn schema:segment))
(def ^:private check-segments
(sm/check-fn schema:segments))
(def check-content
(sm/check-fn schema:content))
@ -611,7 +608,7 @@
(defn from-plain
"Create a PathData instance from plain data structures"
[segments]
(assert (check-segments segments))
(assert (check-plain-content segments))
(let [total (count segments)
buffer (buf/allocate (* total SEGMENT-BYTE-SIZE))]