Skip to content

Commit 6ef2481

Browse files
committed
intradoc link for vec
1 parent fde5eeb commit 6ef2481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
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)