We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df01b3a commit c86ffe9Copy full SHA for c86ffe9
library/core/src/ops/index.rs
@@ -64,7 +64,7 @@ pub trait Index<Idx: ?Sized> {
64
///
65
/// # Panics
66
67
- /// Panics if the index is out of bounds.
+ /// May panic if the index is out of bounds.
68
#[stable(feature = "rust1", since = "1.0.0")]
69
#[track_caller]
70
fn index(&self, index: Idx) -> &Self::Output;
@@ -168,7 +168,7 @@ pub trait IndexMut<Idx: ?Sized>: Index<Idx> {
168
169
170
171
172
173
174
fn index_mut(&mut self, index: Idx) -> &mut Self::Output;
0 commit comments