mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename 'subrange' to 'bounds' in non-API arguments
This commit is contained in:
committed by
Max Moiseev
parent
3910a00a35
commit
ab0a2a6044
@@ -64,7 +64,7 @@ ${stringSubscriptComment}
|
||||
@available(
|
||||
*, unavailable,
|
||||
message="cannot subscript String with a Range<Int>, see the documentation comment for discussion")
|
||||
public subscript(subRange: Range<Int>) -> String {
|
||||
public subscript(bounds: Range<Int>) -> String {
|
||||
fatalError("unavailable function can't be called")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user