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 {