Permalink
Browse files

Removed docstring from internal macro

  • Loading branch information...
1 parent d3e09ec commit c6378efc74c38116be3ed81f73dfe5fa90f817ac @weavejester committed Jan 22, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/compojure/core.clj
View
6 src/compojure/core.clj
@@ -57,11 +57,7 @@
(throw (Exception. (str "Unexpected binding: " sym))))
(mapcat identity binds))))
-(defmacro bind-request
- "Bind a request to a collection of symbols. The collection can be a Clojure
- map destructuring binding for the request map, or it can be a vector of
- parameter bindings."
- [request bindings & body]
+(defmacro bind-request [request bindings & body]
(if (vector? bindings)
`(let [~@(vector-bindings bindings request)] ~@body)
`(let [~bindings ~request] ~@body)))

0 comments on commit c6378ef

Please sign in to comment.