Skip to content

Commit 1118cd7

Browse files
committed
Add "Vector" as doc alias to Vec
1 parent 81c1d7a commit 1118cd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/alloc/src/vec/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ mod spec_extend;
369369
/// [`reserve`]: Vec::reserve
370370
/// [`MaybeUninit`]: core::mem::MaybeUninit
371371
/// [owned slice]: Box
372+
#[doc(alias = "Vector")]
372373
#[stable(feature = "rust1", since = "1.0.0")]
373374
#[cfg_attr(not(test), rustc_diagnostic_item = "vec_type")]
374375
pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {

0 commit comments

Comments
 (0)