There was an error while loading. Please reload this page.
1 parent d231213 commit 7cd41dfCopy full SHA for 7cd41df
stdlib/public/core/Range.swift
@@ -682,7 +682,7 @@ extension PartialRangeFrom: RangeExpression {
682
) -> Range<Bound> where C.Index == Bound {
683
return self.lowerBound..<collection.endIndex
684
}
685
- @inlinable // trivial-implementation
+ @_transparent
686
public func contains(_ element: Bound) -> Bool {
687
return lowerBound <= element
688
0 commit comments