Skip to content

Commit d6a9f30

Browse files
authored
Merge pull request swiftlang#20601 from milseman/stringinable
2 parents 0741f64 + 034f76d commit d6a9f30

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

stdlib/public/core/StringCharacterView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ extension String: BidirectionalCollection {
5050
}
5151

5252
/// The number of characters in a string.
53-
@inlinable // FIXME(inline-always)
5453
public var count: Int {
5554
@inline(__always) get {
5655
return distance(from: startIndex, to: endIndex)

stdlib/public/core/StringGutsRangeReplaceable.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ extension _StringGuts {
4040
}
4141
}
4242

43-
@inlinable // FIXME(inline-always) was usableFromInline
44-
// @testable
43+
@usableFromInline // @testable
4544
internal var isUniqueNative: Bool {
4645
@inline(__always) mutating get {
4746
// Note: mutating so that self is `inout`.

0 commit comments

Comments
 (0)