diff --git a/docs/new_sets_doc.md b/docs/new_sets_doc.md index 2a3fb33..feec3b8 100755 --- a/docs/new_sets_doc.md +++ b/docs/new_sets_doc.md @@ -96,7 +96,7 @@ sets.insert(s, e) Inserts an element into the set. -Element must be hashable. This mutates the orginal set. +Element must be hashable. This mutates the original set. ### Parameters @@ -426,7 +426,7 @@ sets.remove(s, e) Removes an element from the set. -Element must be hashable. This mutates the orginal set. +Element must be hashable. This mutates the original set. ### Parameters diff --git a/lib/new_sets.bzl b/lib/new_sets.bzl index b6fb99d..a213cad 100644 --- a/lib/new_sets.bzl +++ b/lib/new_sets.bzl @@ -61,7 +61,7 @@ def _to_list(s): def _insert(s, e): """Inserts an element into the set. - Element must be hashable. This mutates the orginal set. + Element must be hashable. This mutates the original set. Args: s: A set, as returned by `sets.make()`. @@ -76,7 +76,7 @@ def _insert(s, e): def _remove(s, e): """Removes an element from the set. - Element must be hashable. This mutates the orginal set. + Element must be hashable. This mutates the original set. Args: s: A set, as returned by `sets.make()`.