File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ namespace mbed {
58
58
template <typename T, ptrdiff_t Size = SPAN_DYNAMIC_EXTENT>
59
59
struct Span {
60
60
61
- MBED_STATIC_ASSERT (Size >= 0 , " Invalid size for an ArrayView " );
61
+ MBED_STATIC_ASSERT (Size >= 0 , " Invalid size for a Span " );
62
62
63
63
/* *
64
64
* Construct a view to an empty array.
@@ -74,7 +74,7 @@ struct Span {
74
74
* @param array_size Number of elements of T present in the array.
75
75
*
76
76
* @post a call to size() will return array_size and data() will return
77
- * array_tpr .
77
+ * @p array_ptr .
78
78
*/
79
79
Span (T* array_ptr, size_t array_size) :
80
80
_array (array_ptr) {
@@ -236,7 +236,7 @@ struct Span<T, SPAN_DYNAMIC_EXTENT> {
236
236
* @param array_size Number of elements of T present in the array.
237
237
*
238
238
* @post a call to size() will return array_size and data() will return
239
- * array_tpr .
239
+ * @p array_ptr .
240
240
*/
241
241
Span (T* array_ptr, size_t array_size) :
242
242
_array (array_ptr), _size(array_size) { }
You can’t perform that action at this time.
0 commit comments