mirror of
https://github.com/github/semantic.git
synced 2024-12-18 20:31:55 +03:00
93fd2acc81
git-subtree-dir: prototype
git-subtree-mainline: 0244ce39f68a04b515f32b2b8ea9a3e0228923c7
git-subtree-split: a7fef6ced9
10 lines
286 B
Swift
10 lines
286 B
Swift
extension StringLiteralConvertible {
|
|
public init(unicodeScalarLiteral: Self.StringLiteralType) {
|
|
self.init(stringLiteral: unicodeScalarLiteral)
|
|
}
|
|
|
|
public init(extendedGraphemeClusterLiteral: Self.StringLiteralType) {
|
|
self.init(stringLiteral: extendedGraphemeClusterLiteral)
|
|
}
|
|
}
|