diff options
| -rw-r--r-- | library/alloc/src/collections/linked_list.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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<T> LinkedList<T> { /// 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<T> LinkedList<T> { /// 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<T> LinkedList<T> { /// 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<T> LinkedList<T> { /// 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 /// |
