Skip to content

Commit

Permalink
Removes unnecessary footnote
Browse files Browse the repository at this point in the history
  • Loading branch information
aserebryakov committed Aug 15, 2017
1 parent f538d34 commit e7f6ec3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ make a pointer to the array, this will give you a pointer to the first element.

A final point of difference between arrays in Rust and C++ is that Rust arrays
can implement traits, and thus have methods. To find the length of an array, for
example, you use `a.len()`<sup>[2](#2)</sup>.
example, you use `a.len()`.


## Slices
Expand Down Expand Up @@ -273,7 +273,3 @@ array initialisers, the length must be an integer constant expression. For

In C++11 there is `std::array<T, N>` that provides boundary checking when
`at()` method is used.

##### 2

`std::array<T, N>` has the `size()` method to get the array length.

0 comments on commit e7f6ec3

Please sign in to comment.