From c0fb8ea8f3cd01cfb01effa687a8d553c540aec3 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 5 Jan 2022 19:03:05 -0600 Subject: Cleanup: Spelling/grammar in comments --- source/blender/blenlib/BLI_index_range.hh | 2 +- source/blender/blenlib/BLI_span.hh | 2 +- source/blender/blenlib/BLI_vector_set.hh | 2 +- 3 files 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 665f44468db..cc6040d49db 100644 --- a/source/blender/blenlib/BLI_index_range.hh +++ b/source/blender/blenlib/BLI_index_range.hh @@ -48,7 +48,7 @@ * Ideally this could be could be even closer to Python's enumerate(). We might get that in the * future with newer C++ versions. * - * One other important feature is the as_span method. This method returns an Span + * One other important feature is the as_span method. This method returns a Span * that contains the interval as individual numbers. */ diff --git a/source/blender/blenlib/BLI_span.hh b/source/blender/blenlib/BLI_span.hh index 995dc70a84d..5e69e28dbb1 100644 --- a/source/blender/blenlib/BLI_span.hh +++ b/source/blender/blenlib/BLI_span.hh @@ -62,7 +62,7 @@ * then the function has to specify whether the referenced array is expected to be initialized or * not. * - * Since the arrays are only referenced, it is generally unsafe to store an Span. When you + * Since the arrays are only referenced, it is generally unsafe to store a Span. When you * store one, you should know who owns the memory. * * Instances of Span and MutableSpan are small and should be passed by value. diff --git a/source/blender/blenlib/BLI_vector_set.hh b/source/blender/blenlib/BLI_vector_set.hh index 567e4fd8128..cc9cb585a1c 100644 --- a/source/blender/blenlib/BLI_vector_set.hh +++ b/source/blender/blenlib/BLI_vector_set.hh @@ -263,7 +263,7 @@ class VectorSet { } /** - * Get an Span referencing the keys vector. The referenced memory buffer is only valid as + * Get a Span referencing the keys vector. The referenced memory buffer is only valid as * long as the vector set is not changed. * * The keys must not be changed, because this would change their hash value. -- cgit v1.2.3