Skip to content

Commit 9eabba5

Browse files
committed
Make abstracts one sentence long.
The second sentence was added while rewriting to remove 'iff' in commit 6bc4c85.
1 parent db9fc0b commit 9eabba5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/public/Darwin/Foundation/NSStringAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ extension StringProtocol where Index == String.Index {
16691669
// forward trivially to rangeOfString.
16701670

16711671
/// Returns `true` if `other` is non-empty and contained within `self` by
1672-
/// case-sensitive, non-literal search. Otherwise, returns `false`.
1672+
/// case-sensitive, non-literal search; otherwise, returns `false`.
16731673
///
16741674
/// Equivalent to `self.range(of: other) != nil`
16751675
public func contains<T : StringProtocol>(_ other: T) -> Bool {

stdlib/public/core/ManagedBuffer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ extension ManagedBufferPointer {
376376
}
377377

378378
/// Returns `true` if `self` holds the only strong reference to its
379-
/// buffer. Otherwise, returns `false`.
379+
/// buffer; otherwise, returns `false`.
380380
///
381381
/// See `isKnownUniquelyReferenced` for details.
382382
@inlinable

0 commit comments

Comments
 (0)