Skip to content

Commit

Permalink
Rollup merge of #88659 - est31:update_smallvec_name, r=matthewjasper
Browse files Browse the repository at this point in the history
Remove SmallVector mention

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
rylev authored Sep 6, 2021
2 parents 29a018d + d84a39b commit 5f09e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_data_structures/src/thin_vec.rs
Original file line number Diff line number Diff line change
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 5f09e93

Please sign in to comment.