Skip to content

Commit ad827cc

Browse files
committed
Use code style in documentation for referred functions.
1 parent f1a2f22 commit ad827cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/BidirectionalCollection.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@ extension BidirectionalCollection where SubSequence == BidirectionalSlice<Self>
205205
extension BidirectionalCollection where SubSequence == Self {
206206
/// Removes and returns the last element of the collection.
207207
///
208-
/// popLast() should generally be preferred over removeLast()
208+
/// `popLast()` should generally be preferred over `removeLast()`
209209
/// since it is safer to use.
210210
///
211-
/// You should only opt for removeLast() if you are certain the collection
211+
/// You should only opt for `removeLast()` if you are certain the collection
212212
/// is not empty and performance is an issue.
213213
///
214214
/// - Returns: The last element of the collection if the collection has one
@@ -228,7 +228,7 @@ extension BidirectionalCollection where SubSequence == Self {
228228
/// You should only use this if you are certain the collection
229229
/// is not empty and performance is an issue.
230230
///
231-
/// Otherwise opt for popLast() since it is safer.
231+
/// Otherwise opt for `popLast()` since it is safer.
232232
///
233233
/// - Returns: The last element of the collection.
234234
///

0 commit comments

Comments
 (0)