From 7012330cd7c990ad472e4a337e751f0478d8e59a Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sun, 1 Sep 2019 22:49:34 +1000 Subject: [PATCH] Fix a RAC spec typo in its dictionary example --- doc/spec/rac-spec.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/spec/rac-spec.md b/doc/spec/rac-spec.md index 6dc00ada..3aff1b91 100644 --- a/doc/spec/rac-spec.md +++ b/doc/spec/rac-spec.md @@ -539,9 +539,9 @@ position `0x04`. Decompressing that chunk produces the 6 bytes The second example consists of a root node with four children: one metadata node (a shared dictionary) and three data nodes. The shared dictionary, -"\x20sheep\n" is `0x0008` bytes long and its Adler-32 checksum is `0x0BE0026E`. -The third child's (the second data node)'s compressed contents starts at -position `0x73`. Decompressing that chunk, together with that shared +"\x20sheep.\n" is `0x0008` bytes long and its Adler-32 checksum is +`0x0BE0026E`. The third child's (the second data node)'s compressed contents +starts at position `0x73`. Decompressing that chunk, together with that shared dictionary, produces the 11 bytes ["Two sheep.\n"](https://play.golang.org/p/Jh9Wyp6PLID). The complete decoding of all three data chunks is "One sheep.\nTwo sheep.\nThree sheep.\n".