From a45b4084222464e54b37738906714a42cb571207 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sun, 18 Sep 2022 22:57:46 -0500 Subject: Cleanup: Fix grammar in IndexRange header Also make it more clear by avoiding repeating the name of the function. --- source/blender/blenlib/BLI_index_range.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib') 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 { -- cgit v1.2.3