mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove style on *generator* and friends.
This commit is contained in:
@@ -59,7 +59,7 @@ public protocol UnicodeCodecType {
|
||||
/// Because of buffering, it is impossible to find the corresponding position
|
||||
/// in the generator for a given returned `UnicodeScalar` or an error.
|
||||
///
|
||||
/// - parameter next: A *generator* of code units to be decoded.
|
||||
/// - parameter next: A generator of code units to be decoded.
|
||||
mutating func decode<
|
||||
G : GeneratorType where G.Element == CodeUnit
|
||||
>(inout next: G) -> UnicodeDecodingResult
|
||||
@@ -332,7 +332,7 @@ public struct UTF8 : UnicodeCodecType {
|
||||
/// Because of buffering, it is impossible to find the corresponding position
|
||||
/// in the generator for a given returned `UnicodeScalar` or an error.
|
||||
///
|
||||
/// - parameter next: A *generator* of code units to be decoded.
|
||||
/// - parameter next: A generator of code units to be decoded.
|
||||
public mutating func decode<
|
||||
G : GeneratorType where G.Element == CodeUnit
|
||||
>(inout next: G) -> UnicodeDecodingResult {
|
||||
@@ -518,7 +518,7 @@ public struct UTF16 : UnicodeCodecType {
|
||||
/// Because of buffering, it is impossible to find the corresponding position
|
||||
/// in the generator for a given returned `UnicodeScalar` or an error.
|
||||
///
|
||||
/// - parameter next: A *generator* of code units to be decoded.
|
||||
/// - parameter next: A generator of code units to be decoded.
|
||||
public mutating func decode<
|
||||
G : GeneratorType where G.Element == CodeUnit
|
||||
>(inout input: G) -> UnicodeDecodingResult {
|
||||
@@ -653,7 +653,7 @@ public struct UTF32 : UnicodeCodecType {
|
||||
/// Because of buffering, it is impossible to find the corresponding position
|
||||
/// in the generator for a given returned `UnicodeScalar` or an error.
|
||||
///
|
||||
/// - parameter next: A *generator* of code units to be decoded.
|
||||
/// - parameter next: A generator of code units to be decoded.
|
||||
public mutating func decode<
|
||||
G : GeneratorType where G.Element == CodeUnit
|
||||
>(inout input: G) -> UnicodeDecodingResult {
|
||||
|
||||
Reference in New Issue
Block a user