mirror of
https://github.com/github/semantic.git
synced 2024-11-29 11:02:26 +03:00
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)
|
||
|
}
|
||
|
}
|