Skip to content

Commit 9b9d33a

Browse files
committed
Span: Fix typo.
1 parent 3fb3173 commit 9b9d33a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform/Span.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace mbed {
5858
template<typename T, ptrdiff_t Size = SPAN_DYNAMIC_EXTENT>
5959
struct Span {
6060

61-
MBED_STATIC_ASSERT(Size >= 0, "Invalid size for an ArrayView");
61+
MBED_STATIC_ASSERT(Size >= 0, "Invalid size for a Span");
6262

6363
/**
6464
* Construct a view to an empty array.
@@ -74,7 +74,7 @@ struct Span {
7474
* @param array_size Number of elements of T present in the array.
7575
*
7676
* @post a call to size() will return array_size and data() will return
77-
* array_tpr.
77+
* @p array_ptr.
7878
*/
7979
Span(T* array_ptr, size_t array_size) :
8080
_array(array_ptr) {
@@ -236,7 +236,7 @@ struct Span<T, SPAN_DYNAMIC_EXTENT> {
236236
* @param array_size Number of elements of T present in the array.
237237
*
238238
* @post a call to size() will return array_size and data() will return
239-
* array_tpr.
239+
* @p array_ptr.
240240
*/
241241
Span(T* array_ptr, size_t array_size) :
242242
_array(array_ptr), _size(array_size) { }

0 commit comments

Comments
 (0)