aboutsummaryrefslogtreecommitdiff
path: root/lib/std/io/fixed_buffer_stream.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-01-09 13:04:08 -0800
committerGitHub <noreply@github.com>2021-01-09 13:04:08 -0800
commit29928af6005997d2b02b4c3a3576a696a02fa269 (patch)
tree9852e606adc5bc065e758482445bb6d1c5ead99c /lib/std/io/fixed_buffer_stream.zig
parenta0ad2dee6a0b3bb7fd04032f6113206f7b4e73eb (diff)
parente72472d953f5e91d37bc5f1bf1ec7b6fb5b1afe2 (diff)
downloadzig-29928af6005997d2b02b4c3a3576a696a02fa269.tar.gz
zig-29928af6005997d2b02b4c3a3576a696a02fa269.zip
Merge pull request #7729 from jayschwa/remove-deprecated-stream
Remove deprecated stream aliases
Diffstat (limited to 'lib/std/io/fixed_buffer_stream.zig')
-rw-r--r--lib/std/io/fixed_buffer_stream.zig14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/std/io/fixed_buffer_stream.zig b/lib/std/io/fixed_buffer_stream.zig
index 1711b6da1b..f86fd5a8d8 100644
--- a/lib/std/io/fixed_buffer_stream.zig
+++ b/lib/std/io/fixed_buffer_stream.zig
@@ -23,11 +23,7 @@ pub fn FixedBufferStream(comptime Buffer: type) type {
pub const GetSeekPosError = error{};
pub const Reader = io.Reader(*Self, ReadError, read);
- /// Deprecated: use `Reader`
- pub const InStream = io.InStream(*Self, ReadError, read);
pub const Writer = io.Writer(*Self, WriteError, write);
- /// Deprecated: use `Writer`
- pub const OutStream = Writer;
pub const SeekableStream = io.SeekableStream(
*Self,
@@ -45,20 +41,10 @@ pub fn FixedBufferStream(comptime Buffer: type) type {
return .{ .context = self };
}
- /// Deprecated: use `reader`
- pub fn inStream(self: *Self) InStream {
- return .{ .context = self };
- }
-
pub fn writer(self: *Self) Writer {
return .{ .context = self };
}
- /// Deprecated: use `writer`
- pub fn outStream(self: *Self) OutStream {
- return .{ .context = self };
- }
-
pub fn seekableStream(self: *Self) SeekableStream {
return .{ .context = self };
}