Skip to content

Commit

Permalink
Fix tutorial bug
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Jun 15, 2016
1 parent 62ff0a9 commit b34f185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ If we are unsure whether a member exists, we need to call `HasMember()` before c
~~~~~~~~~~cpp
Value::ConstMemberIterator itr = document.FindMember("hello");
if (itr != document.MemberEnd())
printf("%s %s\n", itr->value.GetString());
printf("%s\n", itr->value.GetString());
~~~~~~~~~~
## Querying Number {#QueryNumber}
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Type of member a is Array
~~~~~~~~~~cpp
Value::ConstMemberIterator itr = document.FindMember("hello");
if (itr != document.MemberEnd())
printf("%s %s\n", itr->value.GetString());
printf("%s\n", itr->value.GetString());
~~~~~~~~~~
## 查询 Number {#QueryNumber}
Expand Down

0 comments on commit b34f185

Please # to comment.