Skip to content

Commit 03e15fc

Browse files
committed
Improve comments.
1 parent d603441 commit 03e15fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Aztec/Classes/Extensions/NSAttributedString+Lists.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ extension NSAttributedString {
7474
/// - list: The list.
7575
/// - location: The location of the item.
7676
///
77-
/// - Returns: Returns the total number of items within the list.
77+
/// - Returns: Returns the total number of items within the list or NSNotFound if no list is available at location.
7878
///
7979
func numberOfItems(in list: TextList, at location: Int) -> Int {
8080
guard
@@ -102,7 +102,7 @@ extension NSAttributedString {
102102
/// - list: The list.
103103
/// - location: The location of the item.
104104
///
105-
/// - Returns: Returns the index within the list.
105+
/// - Returns: Returns the index within the list or NSNotFound is no list is available at location.
106106
///
107107
func itemNumber(in list: TextList, at location: Int) -> Int {
108108
guard

0 commit comments

Comments
 (0)