[stdlib] Propagate ForwardIndexType docs to models

200 undocumented public APIs remain in core

Swift SVN r22222
This commit is contained in:
Dave Abrahams
2014-09-23 19:20:48 +00:00
parent b2d0ef6fef
commit c38e3201b2
11 changed files with 39 additions and 3 deletions

View File

@@ -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()