1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 21:01:35 +03:00
semantic/prototype/Doubt/StringLiteralConvertible.swift

10 lines
286 B
Swift
Raw Normal View History

2015-07-18 22:43:49 +03:00
extension StringLiteralConvertible {
public init(unicodeScalarLiteral: Self.StringLiteralType) {
self.init(stringLiteral: unicodeScalarLiteral)
}
public init(extendedGraphemeClusterLiteral: Self.StringLiteralType) {
self.init(stringLiteral: extendedGraphemeClusterLiteral)
}
}