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 7b32c14 commit 0ff733aCopy full SHA for 0ff733a
compiler/rustc_arena/src/lib.rs
@@ -201,7 +201,7 @@ impl<T> TypedArena<T> {
201
/// storing the elements in the arena.
202
#[inline]
203
pub fn alloc_from_iter<I: IntoIterator<Item = T>>(&self, iter: I) -> &mut [T] {
204
- // Despite the similarlty with `DroplessArena`, we cannot reuse their fast case. The reason
+ // Despite the similarity with `DroplessArena`, we cannot reuse their fast case. The reason
205
// is subtle: these arenas are reentrant. In other words, `iter` may very well be holding a
206
// reference to `self` and adding elements to the arena during iteration.
207
//
0 commit comments