1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

No longer need to disambiguate String.

This commit is contained in:
Rob Rix 2015-09-30 10:42:43 -04:00
parent b581b8b71d
commit 9841debe91

View File

@ -1,9 +1,9 @@
public enum Hash: Hashable {
case Sequence([Hash])
case Label(Swift.String)
case Label(String)
case Raw(Int)
public static func Case(label: Swift.String, _ hashes: Hash...) -> Hash {
public static func Case(label: String, _ hashes: Hash...) -> Hash {
return .Sequence([ .Label(label) ] + hashes)
}