Skip to content

Commit

Permalink
Remove SmallVector mention
Browse files Browse the repository at this point in the history
SmallVector is long gone, as it's been first replaced
by OneVector in commit e5e6375,
which then has been removed entirely in favour of SmallVec in
commit 130a32f.
  • Loading branch information
est31 committed Sep 5, 2021
1 parent 47ab5f7 commit d84a39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_data_structures/src/thin_vec.rs
Expand Up @@ -2,7 +2,7 @@ use crate::stable_hasher::{HashStable, StableHasher};

use std::iter::FromIterator;

/// A vector type optimized for cases where this size is usually 0 (cf. `SmallVector`).
/// A vector type optimized for cases where this size is usually 0 (cf. `SmallVec`).
/// The `Option<Box<..>>` wrapping allows us to represent a zero sized vector with `None`,
/// which uses only a single (null) pointer.
#[derive(Clone, Encodable, Decodable, Debug)]
Expand Down

0 comments on commit d84a39b

Please sign in to comment.