From ef1a58484286454af6815d7e8a2f52c10b1449f2 Mon Sep 17 00:00:00 2001 From: Jacob Asper Date: Sun, 18 Feb 2024 05:29:56 -0500 Subject: intradoc link for vec --- library/alloc/src/vec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/alloc/src/vec') diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 711b4a8a8ef..e9a57c0a47b 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -1493,7 +1493,7 @@ impl Vec { /// /// # Time complexity /// - /// Takes *O*(`len`) time. All items after the insertion index must be + /// Takes *O*([`Vec::len`]) time. All items after the insertion index must be /// shifted to the right. In the worst case, all elements are shifted when /// the insertion index is 0. #[cfg(not(no_global_oom_handling))] -- cgit 1.4.1-3-g733a5