From 41d7e616557e1f7286209481897d14edeb8c094f Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 8 Apr 2026 10:50:30 -0700 Subject: [PATCH] Fix doc comment for Vector.resize_initialized --- core/templates/local_vector.h | 2 +- core/templates/vector.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/templates/local_vector.h b/core/templates/local_vector.h index 13aea6fded..28398af447 100644 --- a/core/templates/local_vector.h +++ b/core/templates/local_vector.h @@ -190,7 +190,7 @@ public: _resize>(p_size); } - /// Resize and set all values to 0 / false / nullptr. + /// Resize and set new values to 0 / false / nullptr. _FORCE_INLINE_ void resize_initialized(U p_size) { _resize(p_size); } /// Resize and keep memory uninitialized. diff --git a/core/templates/vector.h b/core/templates/vector.h index 784272fa75..1adb01b878 100644 --- a/core/templates/vector.h +++ b/core/templates/vector.h @@ -108,7 +108,7 @@ public: return _cowdata.template resize>(p_size); } - /// Resize and set all values to 0 / false / nullptr. + /// Resize and set new values to 0 / false / nullptr. /// This is only available for zero constructible types. _FORCE_INLINE_ Error resize_initialized(Size p_size) { return _cowdata.template resize(p_size);