Rollup merge of #88659 - est31:update_smallvec_name, r=matthewjasper

Remove SmallVector mention

SmallVector is long gone, as it's been first replaced
by OneVector in commit e5e6375352,
which then has been removed entirely in favour of SmallVec in
commit 130a32fa72.
This commit is contained in:
Ryan Levick 2021-09-06 12:38:55 +02:00 committed by GitHub
commit 5f09e93318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)]