diff options
author | Yanqin Jin <yanqin@fb.com> | 2018-04-10 15:47:54 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2018-04-10 15:59:24 -0700 |
commit | d95014b9dfb344fb1cd82cb55e5db94f66cdbc3a (patch) | |
tree | 1a5579158f35c9ed66051ed7b88ca81852d15904 /third-party | |
parent | 2770a94c4281643c92a785a0dd711013920c2d35 (diff) |
fix some text in comments.
Summary:
1. Remove redundant text.
2. Make terminology consistent across all comments and doc of RocksDB. Also do
our best to conform to conventions. Specifically, use 'callback' instead of
'call-back' [wikipedia](https://en.wikipedia.org/wiki/Callback_(computer_programming)).
Closes https://github.com/facebook/rocksdb/pull/3693
Differential Revision: D7560396
Pulled By: riversand963
fbshipit-source-id: ba8c251c487f4e7d1872a1a8dc680f9e35a6ffb8
Diffstat (limited to 'third-party')
-rw-r--r-- | third-party/fbson/FbsonDocument.h | 2 | ||||
-rw-r--r-- | third-party/fbson/FbsonJsonParser.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/third-party/fbson/FbsonDocument.h b/third-party/fbson/FbsonDocument.h index fc7ca76ff..11b6fe28e 100644 --- a/third-party/fbson/FbsonDocument.h +++ b/third-party/fbson/FbsonDocument.h @@ -48,7 +48,7 @@ * and use index to retrieve from array. Array index is 0-based. * * ** External dictionary ** - * During query processing, you can also pass a call-back function, so the + * During query processing, you can also pass a callback function, so the * search will first try to check if the key string exists in the dictionary. * If so, search will be based on the id instead of the key string. * diff --git a/third-party/fbson/FbsonJsonParser.h b/third-party/fbson/FbsonJsonParser.h index 63b03e2b9..2c936d675 100644 --- a/third-party/fbson/FbsonJsonParser.h +++ b/third-party/fbson/FbsonJsonParser.h @@ -31,7 +31,7 @@ * FbsonErrType, and can be retrieved by calling getErrorCode(). * * ** External dictionary ** - * During parsing a JSON string, you can pass a call-back function to map a key + * During parsing a JSON string, you can pass a callback function to map a key * string to an id, and store the dictionary id in FBSON to save space. The * purpose of using an external dictionary is more towards a collection of * documents (which has common keys) rather than a single document, so that |