Always use :as when destructuring

This commit is contained in:
oakes
2014-04-01 13:10:38 -04:00
parent 95e2a16842
commit 1540623029
3 changed files with 5 additions and 4 deletions

View File

@@ -232,7 +232,8 @@
"Runs the physics simulations for a single frame and optionally returns the
`entities` with their positions updated."
([{:keys [world time-step velocity-iterations position-iterations]
:or {time-step (/ 1 60) velocity-iterations 10 position-iterations 10}}]
:or {time-step (/ 1 60) velocity-iterations 10 position-iterations 10}
:as screen}]
(assert world)
(cond
(isa? (type world) World)