[stdlib] Propagate SequenceType docs to models

235 undocumented public APIs remain in core

Swift SVN r22210
This commit is contained in:
Dave Abrahams
2014-09-23 10:40:37 +00:00
parent fec622de0a
commit f4a7812065
29 changed files with 162 additions and 19 deletions

View File

@@ -144,6 +144,10 @@ extension String {
var _base: _StringCore.Generator
}
/// Return a *generator* over the `UnicodeScalar`\ s that comprise
/// this *sequence*.
///
/// Complexity: O(1)
public func generate() -> Generator {
return Generator(_core.generate())
}