Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-01-06 04:03:05 +0300
committerHans Goudey <h.goudey@me.com>2022-01-06 04:03:05 +0300
commitc0fb8ea8f3cd01cfb01effa687a8d553c540aec3 (patch)
tree949a74300a638b2cd85f51edb8459d351ed17365 /source/blender/blenlib
parent1d9bac7d921f87718e8a85c6ef7af2b27f07af2f (diff)
Cleanup: Spelling/grammar in comments
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_index_range.hh2
-rw-r--r--source/blender/blenlib/BLI_span.hh2
-rw-r--r--source/blender/blenlib/BLI_vector_set.hh2
3 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 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<int64_t>
+ * One other important feature is the as_span method. This method returns a Span<int64_t>
* 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.