From c0bf9dfd4b75291cc77142dc0fca48289725a4cd Mon Sep 17 00:00:00 2001 From: Mike Bloom Date: Thu, 16 Jul 2026 20:22:49 -0400 Subject: [PATCH] Add function documentation --- include/etl/string_view.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/etl/string_view.h b/include/etl/string_view.h index 7fb82c96..b1d41ca4 100644 --- a/include/etl/string_view.h +++ b/include/etl/string_view.h @@ -425,6 +425,7 @@ namespace etl //************************************************************************* /// Shrinks the view by moving its start forward. + /// When n >= size(), the view is set to empty. //************************************************************************* ETL_CONSTEXPR14 void remove_prefix(size_type n) ETL_NOEXCEPT { @@ -436,6 +437,7 @@ namespace etl //************************************************************************* /// Shrinks the view by moving its end backward. + /// When n >= size(), the view is set to empty. //************************************************************************* ETL_CONSTEXPR14 void remove_suffix(size_type n) ETL_NOEXCEPT {