diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-09 13:04:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-09 13:04:08 -0800 |
| commit | 29928af6005997d2b02b4c3a3576a696a02fa269 (patch) | |
| tree | 9852e606adc5bc065e758482445bb6d1c5ead99c /lib/std/io/fixed_buffer_stream.zig | |
| parent | a0ad2dee6a0b3bb7fd04032f6113206f7b4e73eb (diff) | |
| parent | e72472d953f5e91d37bc5f1bf1ec7b6fb5b1afe2 (diff) | |
| download | zig-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.zig | 14 |
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 }; } |
