diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-19 06:57:46 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-19 06:57:46 +0300 |
commit | a45b4084222464e54b37738906714a42cb571207 (patch) | |
tree | 156fa18298277e674d9e2378c31273a872869b34 /source/blender/blenlib | |
parent | ecf3435362cf2c1823b94a154c3f32a0c3412f53 (diff) |
Cleanup: Fix grammar in IndexRange header
Also make it more clear by avoiding repeating the name of the function.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_index_range.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_index_range.hh b/source/blender/blenlib/BLI_index_range.hh index ba49664e91f..c259282ca64 100644 --- a/source/blender/blenlib/BLI_index_range.hh +++ b/source/blender/blenlib/BLI_index_range.hh @@ -252,9 +252,9 @@ class IndexRange { } /** - * Returns a new range, that contains the intersection of the current one with the given range. - * Returns empty range is no intersection exists. - * Returned range is always a valid slice of this range. + * Returns a new IndexRange that contains the intersection of the current one with the given + * range. Returns empty range if there are no overlapping indices. The returned range is always + * a valid slice of this range. */ constexpr IndexRange intersect(IndexRange other) const { |