mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-14 09:44:26 +00:00
Merge pull request #7178 from rstefanic/fix/gzip-example-doc
compress/gzip: Fix example code
This commit is contained in:
@@ -53,7 +53,7 @@ Example:
|
||||
if file == "-" {
|
||||
// Read from stdin
|
||||
ctx := &compress.Context_Stream_Input{
|
||||
input = os.stdin.stream,
|
||||
input = os.to_stream(os.stdin),
|
||||
}
|
||||
err = gzip.load(ctx, &buf)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user