Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2016-06-27 04:35:42 +0300
committerGitHub <noreply@github.com>2016-06-27 04:35:42 +0300
commitcf7324b466f4ec3623a23dd6fd403971524f161a (patch)
tree7d08cb2b6246e69bec996fddbca9014582a97203
parent1c087b77cb7eb40a40aaf1d0f28feedc2d6e42ee (diff)
parentdabbd2b0286908ba81fbf572eabc4081c1e25ffc (diff)
Merge pull request #660 from andytimes/for-milo
document typo fix and .gitignore update
-rw-r--r--.gitignore1
-rw-r--r--doc/tutorial.zh-cn.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 2c412c2b..e7e8fba9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,5 +20,6 @@ Testing
/googletest
install_manifest.txt
Doxyfile
+Doxyfile.zh-cn
DartConfiguration.tcl
*.nupkg
diff --git a/doc/tutorial.zh-cn.md b/doc/tutorial.zh-cn.md
index 2b9229db..f5db1ca6 100644
--- a/doc/tutorial.zh-cn.md
+++ b/doc/tutorial.zh-cn.md
@@ -379,7 +379,7 @@ const char * cstr = getenv("USER");
size_t cstr_len = ...; // 如果有长度
Value s;
// s.SetString(cstr); // 这不能通过编译
-s.SetString(StringRef(cstr)); // 可以,假设它的生命周期案全,并且是以空字符结尾的
+s.SetString(StringRef(cstr)); // 可以,假设它的生命周期安全,并且是以空字符结尾的
s = StringRef(cstr); // 上行的缩写
s.SetString(StringRef(cstr, cstr_len));// 更快,可处理空字符
s = StringRef(cstr, cstr_len); // 上行的缩写