mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Propagate SequenceType docs to models
235 undocumented public APIs remain in core Swift SVN r22210
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user