Skip to content

Commit e7e9e06

Browse files
authored
[Doc] Fix unescaped reference in 'Substring.base' summary.
There is an unescaped reference to type `Substring`. I think a plain lowercased reference would read better. Alternatively we could escape it with backquotes.
1 parent cd8da12 commit e7e9e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Substring.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public struct Substring: Sendable {
122122
}
123123

124124
extension Substring {
125-
/// Returns the underlying string from which this Substring was derived.
125+
/// Returns the underlying string from which this substring was derived.
126126
@_alwaysEmitIntoClient
127127
public var base: String { return _slice.base }
128128

0 commit comments

Comments
 (0)