1
Fork 0

Following #74010 by converting some newer cases of backticked O notations to be italicized

This commit is contained in:
Ryan Scott 2020-10-14 16:58:59 +11:00 committed by Ryan Scott
parent 000ec5e2f8
commit 8446d949f1
3 changed files with 8 additions and 8 deletions

View file

@ -259,7 +259,7 @@ use crate::raw_vec::RawVec;
/// `Vec` does not guarantee any particular growth strategy when reallocating
/// when full, nor when [`reserve`] is called. The current strategy is basic
/// and it may prove desirable to use a non-constant growth factor. Whatever
/// strategy is used will of course guarantee `O(1)` amortized [`push`].
/// strategy is used will of course guarantee *O*(1) amortized [`push`].
///
/// `vec![x; n]`, `vec![a, b, c, d]`, and
/// [`Vec::with_capacity(n)`][`Vec::with_capacity`], will all produce a `Vec`