diff --git a/v2_0_cpp_unpacker.md b/v2_0_cpp_unpacker.md index bb7fb70..88d7f3b 100644 --- a/v2_0_cpp_unpacker.md +++ b/v2_0_cpp_unpacker.md @@ -179,13 +179,13 @@ void some_function(const char* buffer, std::size_t len) { std::size_t off = 0; // Unpack the first msgpack data. - // off is updated when function is retuened. + // off is updated when function is returned. unpack(result1, buffer, len, off); // Unpack the second msgpack data. - // off is updated when function is retuened. + // off is updated when function is returned. unpack(result2, buffer, len, off); // Unpack the third msgpack data. - // off is updated when function is retuened. + // off is updated when function is returned. unpack(result3, buffer, len, off); assert(len == off); ...