diff --git a/platform/Span.h b/platform/Span.h index 17c919cd28..b5770fc45f 100644 --- a/platform/Span.h +++ b/platform/Span.h @@ -58,7 +58,7 @@ namespace mbed { template struct Span { - MBED_STATIC_ASSERT(Size >= 0, "Invalid size for an ArrayView"); + MBED_STATIC_ASSERT(Size >= 0, "Invalid size for a Span"); /** * Construct a view to an empty array. @@ -74,7 +74,7 @@ struct Span { * @param array_size Number of elements of T present in the array. * * @post a call to size() will return array_size and data() will return - * array_tpr. + * @p array_ptr. */ Span(T* array_ptr, size_t array_size) : _array(array_ptr) { @@ -236,7 +236,7 @@ struct Span { * @param array_size Number of elements of T present in the array. * * @post a call to size() will return array_size and data() will return - * array_tpr. + * @p array_ptr. */ Span(T* array_ptr, size_t array_size) : _array(array_ptr), _size(array_size) { }