summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/language/packed_data.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/language/packed_data.rdoc b/doc/language/packed_data.rdoc
index 1a6d80bd4e..0c84113643 100644
--- a/doc/language/packed_data.rdoc
+++ b/doc/language/packed_data.rdoc
@@ -726,4 +726,4 @@ for one byte in the input or output string.
- <tt>'^'</tt> - Only for unpacking; the current position:
- "foo\0\0\0".unpack("Z*C") # => ["foo", 6]
+ "foo\0\0\0".unpack("Z*^") # => ["foo", 4]