From 5b26fb60929e47f4d8844afdff0e774fb76d16da Mon Sep 17 00:00:00 2001 From: Dave Roberts Date: Tue, 13 Aug 2019 10:38:22 -0500 Subject: [PATCH] Update `only` and `except` single-arity parameter names. The single-arity parameter names for the `only` and `except` functions did not match the same parameters in the dual-arity versions of the same functions. This makes both arities use the same name for the same parameter. --- src/mount/core.cljc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mount/core.cljc b/src/mount/core.cljc index 9504ef5..00d3aca 100644 --- a/src/mount/core.cljc +++ b/src/mount/core.cljc @@ -308,8 +308,8 @@ set)) (defn only - ([states] - (only (find-all-states) states)) + ([these] + (only (find-all-states) these)) ([states these] (intersection (mapset var-to-str these) (mapset var-to-str states)))) @@ -322,8 +322,8 @@ states)) (defn except - ([states] - (except (find-all-states) states)) + ([these] + (except (find-all-states) these)) ([states these] (remove (mapset var-to-str these) (mapset var-to-str states))))