aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2020-03-19 12:40:56 -0400
committerGitHub <noreply@github.com>2020-03-19 12:40:56 -0400
commit2d620ba1f8284695181fa092ec4064724ea99a9a (patch)
treea3d0e869270a75e7b5cc7ff56096c6fc40fec983
parent6970e21d290ceaa36502d0c94533b26e5ec18c0b (diff)
downloadbazel-skylib-2d620ba1f8284695181fa092ec4064724ea99a9a.tar.gz
Fix the comment to match the code. (#238)
Looking at the impl, it only accepts sets.
-rw-r--r--lib/new_sets.bzl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/new_sets.bzl b/lib/new_sets.bzl
index 332e9c5..cd90a30 100644
--- a/lib/new_sets.bzl
+++ b/lib/new_sets.bzl
@@ -182,10 +182,10 @@ def _union(*args):
"""Returns the union of several sets.
Args:
- *args: An arbitrary number of sets or lists.
+ *args: An arbitrary number of sets.
Returns:
- The set union of all sets or lists in `*args`.
+ The set union of all sets in `*args`.
"""
return struct(_values = dicts.add(*[s._values for s in args]))