Fix comment typo in racxxx examples

This commit is contained in:
Nigel Tao committed 2019-09-15 14:03:34 +10:00
1 parent 080a60f503
commit 01ebdae372
2 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -24,10 +24,10 @@ import (
"github.com/google/wuffs/lib/raczlib"
)
// Example_roundTrip demonstrates compressing (using a raczlib.Writer) and
// decompressing (using a rac.Reader configured with a raczlib.CodecReader).
// This includes decompressing an excerpt of the original data, exercising the
// "random access" part of RAC.
// Example_roundTrip demonstrates compressing (using a rac.Writer and a
// raczlib.CodecWriter) and decompressing (using a rac.Reader and a
// raczlib.CodecReader). This includes decompressing an excerpt of the original
// data, exercising the "random access" part of RAC.
func Example_roundTrip() {
// Create some test data.
oBuf := &bytes.Buffer{}
+4 -4
View File
@@ -24,10 +24,10 @@ import (
"github.com/google/wuffs/lib/raczstd"
)
// Example_roundTrip demonstrates compressing (using a raczstd.Writer) and
// decompressing (using a rac.Reader configured with a raczstd.CodecReader).
// This includes decompressing an excerpt of the original data, exercising the
// "random access" part of RAC.
// Example_roundTrip demonstrates compressing (using a rac.Writer and a
// raczstd.CodecWriter) and decompressing (using a rac.Reader and a
// raczstd.CodecReader). This includes decompressing an excerpt of the original
// data, exercising the "random access" part of RAC.
func Example_roundTrip() {
// Create some test data.
oBuf := &bytes.Buffer{}