mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Janitor: Fix spelling in comments
This commit is contained in:
parent
3e55b0e8f8
commit
39984b27db
9 changed files with 23 additions and 23 deletions
|
@ -104,12 +104,12 @@ struct SharedVector
|
|||
/// Returns true if there are no elements on this vector; false otherwise.
|
||||
bool empty() const { return inner->size == 0; }
|
||||
|
||||
/// This indexing operator returns a reference to the \a index'th element of this vector.
|
||||
/// This indexing operator returns a reference to the \a `index`th element of this vector.
|
||||
T &operator[](std::size_t index) { return begin()[index]; }
|
||||
/// This indexing operator returns a const reference to the \a index'th element of this vector.
|
||||
/// This indexing operator returns a const reference to the \a `index`th element of this vector.
|
||||
const T &operator[](std::size_t index) const { return begin()[index]; }
|
||||
|
||||
/// Returns a reference to the \a index'th element of this vector.
|
||||
/// Returns a reference to the \a `index`th element of this vector.
|
||||
const T &at(std::size_t index) const { return begin()[index]; }
|
||||
|
||||
/// Appends the \a value as a new element to the end of this vector.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue