mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] Propagate ForwardIndexType docs to models
200 undocumented public APIs remain in core Swift SVN r22222
This commit is contained in:
@@ -51,6 +51,9 @@ extension String {
|
||||
self._core = _core
|
||||
}
|
||||
|
||||
/// Returns the next consecutive value after `self`.
|
||||
///
|
||||
/// Requires: the next value is representable.
|
||||
public func successor() -> Index {
|
||||
var scratch = _ScratchGenerator(_core, _position)
|
||||
var decoder = UTF16()
|
||||
|
||||
Reference in New Issue
Block a user