We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e7a071 commit 98ba95cCopy full SHA for 98ba95c
alloc/src/alloc.rs
@@ -157,7 +157,7 @@ impl Global {
157
}
158
159
160
- // Safety: Same as `AllocRef::grow`
+ // SAFETY: Same as `AllocRef::grow`
161
#[inline]
162
unsafe fn grow_impl(
163
&mut self,
alloc/src/collections/vec_deque.rs
@@ -2392,7 +2392,7 @@ impl<T> VecDeque<T> {
2392
2393
2394
2395
- // Safety: the following two methods require that the rotation amount
+ // SAFETY: the following two methods require that the rotation amount
2396
// be less than half the length of the deque.
2397
//
2398
// `wrap_copy` requires that `min(x, cap() - x) + copy_len <= cap()`,
0 commit comments