diff options
Diffstat (limited to 'site/docs/skylark/depsets.md')
-rw-r--r-- | site/docs/skylark/depsets.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site/docs/skylark/depsets.md b/site/docs/skylark/depsets.md index 570ac23211..95ae9a62a4 100644 --- a/site/docs/skylark/depsets.md +++ b/site/docs/skylark/depsets.md @@ -284,7 +284,8 @@ print(create("topological").to_list()) # ["d", "b", "c", "a"] Due to how traversals are implemented, the order must be specified at the time the depset is created with the constructor’s `order` keyword argument. If this argument is omitted, the depset has the special `default` order, in which case -there are no guarantees about the order of any of its elements. +there are no guarantees about the order of any of its elements (except that it +is deterministic). For safety, depsets with different orders cannot be merged with the `+` operator unless one of them uses the default order; the resulting depset’s order is the |