Skip to content

Commit f431c66

Browse files
committed
Merge branch 'se86_outputstream' of https://github.com/parkera/swift-package-manager
2 parents 1d278bb + cd4a737 commit f431c66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/Basic/OutputByteStream.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public protocol ByteStreamable {
4040
///
4141
/// would write each item in the list to the stream, separating them with a
4242
/// space.
43-
public class OutputByteStream: OutputStream {
43+
public class OutputByteStream: TextOutputStream {
4444
/// The data buffer.
4545
private var buffer: [UInt8]
4646

Sources/Utility/Verbosity.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ public var verbosity = Verbosity.concise
4343
import func libc.fputs
4444
import var libc.stderr
4545

46-
public class StandardErrorOutputStream: OutputStream {
46+
public class StandardErrorOutputStream: TextOutputStream {
4747
public func write(_ string: String) {
4848
// Silently ignore write failures here.
4949
//
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`.
5151
_ = libc.fputs(string, libc.stderr)
5252
}
5353
}

0 commit comments

Comments
 (0)