mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Replace @semantics("readonly") with @effects(readonly).
Swift SVN r21088
This commit is contained in:
@@ -22,7 +22,7 @@ public struct UnicodeScalar : ExtendedGraphemeClusterLiteralConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
@semantics("readonly")
|
||||
@effects(readonly)
|
||||
public static func convertFromExtendedGraphemeClusterLiteral(
|
||||
value: String) -> UnicodeScalar {
|
||||
let unicodeScalars = value.unicodeScalars
|
||||
|
||||
Reference in New Issue
Block a user