Skip to content

Commit cebba31

Browse files
authored
unitalicize O(1) complexities
1 parent cb1c06f commit cebba31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/alloc/src/collections/linked_list.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ impl<T> LinkedList<T> {
658658
/// Provides a reference to the front element, or `None` if the list is
659659
/// empty.
660660
///
661-
/// This operation should compute in *O*(*1*) time.
661+
/// This operation should compute in *O*(1) time.
662662
///
663663
/// # Examples
664664
///
@@ -680,7 +680,7 @@ impl<T> LinkedList<T> {
680680
/// Provides a mutable reference to the front element, or `None` if the list
681681
/// is empty.
682682
///
683-
/// This operation should compute in *O*(*1*) time.
683+
/// This operation should compute in *O*(1) time.
684684
///
685685
/// # Examples
686686
///
@@ -708,7 +708,7 @@ impl<T> LinkedList<T> {
708708
/// Provides a reference to the back element, or `None` if the list is
709709
/// empty.
710710
///
711-
/// This operation should compute in *O*(*1*) time.
711+
/// This operation should compute in *O*(1) time.
712712
///
713713
/// # Examples
714714
///
@@ -730,7 +730,7 @@ impl<T> LinkedList<T> {
730730
/// Provides a mutable reference to the back element, or `None` if the list
731731
/// is empty.
732732
///
733-
/// This operation should compute in *O*(*1*) time.
733+
/// This operation should compute in *O*(1) time.
734734
///
735735
/// # Examples
736736
///

0 commit comments

Comments
 (0)