Fix build error in RSWeb.

This commit is contained in:
Brent Simmons 2017-09-17 11:37:22 -07:00
parent 4bb0325c45
commit 306836766a
1 changed files with 1 additions and 1 deletions

View File

@ -64,6 +64,6 @@ private extension String {
}
let index = self.index(self.startIndex, offsetBy: prefix.characters.count)
return substring(from: index)
return String(self[..<index])
}
}