From ca0feb57e5d7749f60f5660adddea7252f0fe85f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Vaeng=20R=C3=B8tnes?= Date: Sat, 19 Mar 2022 22:16:20 +0000 Subject: [PATCH] Fix docstring of add-clause-before The result of adding a clause to a list in which the it already appears, is not to remove it from the list, but to move it to the end. --- src/honey/sql.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/honey/sql.cljc b/src/honey/sql.cljc index 7a19296..1b4735f 100644 --- a/src/honey/sql.cljc +++ b/src/honey/sql.cljc @@ -67,7 +67,7 @@ (defn- add-clause-before "Low-level helper just to insert a new clause. - If the clause is already in the list, remove it." + If the clause is already in the list, this moves it to the end." [order clause before] (let [clauses (set order) order (if (contains? clauses clause)