From cebba31d4ae6bd1dea410dc7d74e496846f5980d Mon Sep 17 00:00:00 2001 From: Takashi Idobe Date: Fri, 24 Sep 2021 08:33:49 -0500 Subject: unitalicize O(1) complexities --- library/alloc/src/collections/linked_list.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'library/alloc') diff --git a/library/alloc/src/collections/linked_list.rs b/library/alloc/src/collections/linked_list.rs index dfd0039baf6..c5c32674eec 100644 --- a/library/alloc/src/collections/linked_list.rs +++ b/library/alloc/src/collections/linked_list.rs @@ -658,7 +658,7 @@ impl LinkedList { /// Provides a reference to the front element, or `None` if the list is /// empty. /// - /// This operation should compute in *O*(*1*) time. + /// This operation should compute in *O*(1) time. /// /// # Examples /// @@ -680,7 +680,7 @@ impl LinkedList { /// Provides a mutable reference to the front element, or `None` if the list /// is empty. /// - /// This operation should compute in *O*(*1*) time. + /// This operation should compute in *O*(1) time. /// /// # Examples /// @@ -708,7 +708,7 @@ impl LinkedList { /// Provides a reference to the back element, or `None` if the list is /// empty. /// - /// This operation should compute in *O*(*1*) time. + /// This operation should compute in *O*(1) time. /// /// # Examples /// @@ -730,7 +730,7 @@ impl LinkedList { /// Provides a mutable reference to the back element, or `None` if the list /// is empty. /// - /// This operation should compute in *O*(*1*) time. + /// This operation should compute in *O*(1) time. /// /// # Examples /// -- cgit 1.4.1-3-g733a5