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);