Skip to content

Commit ef1a584

Browse files
committed
intradoc link for vec
1 parent d2f825f commit ef1a584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ impl<T, A: Allocator> Vec<T, A> {
14931493
///
14941494
/// # Time complexity
14951495
///
1496-
/// Takes *O*(`len`) time. All items after the insertion index must be
1496+
/// Takes *O*([`Vec::len`]) time. All items after the insertion index must be
14971497
/// shifted to the right. In the worst case, all elements are shifted when
14981498
/// the insertion index is 0.
14991499
#[cfg(not(no_global_oom_handling))]

0 commit comments

Comments
 (0)