File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public protocol ByteStreamable {
40
40
///
41
41
/// would write each item in the list to the stream, separating them with a
42
42
/// space.
43
- public class OutputByteStream : OutputStream {
43
+ public class OutputByteStream : TextOutputStream {
44
44
/// The data buffer.
45
45
private var buffer : [ UInt8 ]
46
46
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ public var verbosity = Verbosity.concise
43
43
import func libc. fputs
44
44
import var libc. stderr
45
45
46
- public class StandardErrorOutputStream : OutputStream {
46
+ public class StandardErrorOutputStream : TextOutputStream {
47
47
public func write( _ string: String ) {
48
48
// Silently ignore write failures here.
49
49
//
50
- // FIXME: We would like to throw this error, but can't given the design of `OutputStream `.
50
+ // FIXME: We would like to throw this error, but can't given the design of `TextOutputStream `.
51
51
_ = libc. fputs ( string, libc. stderr)
52
52
}
53
53
}
You can’t perform that action at this time.
0 commit comments