Fix build error in RSWeb.
This commit is contained in:
parent
4bb0325c45
commit
306836766a
|
@ -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])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue