Skip to content

Commit a3977b2

Browse files
committed
Better to pass nil as the mutable hash value for the map entry
1 parent 74c885b commit a3977b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambdaisland/deep_diff2/minimise_impl.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#?(:clj
3737
(clojure.lang.MapEntry/create (key o) (minimise (val o)))
3838
:cljs
39-
(MapEntry. (key o) (minimise (val o)))))
39+
(MapEntry. (key o) (minimise (val o)) nil)))
4040

4141
(record? o)
4242
(into o (map minimise) o)

0 commit comments

Comments
 (0)