projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ccc20a
)
Fix incorrect variable in dynamic examples
author
软件工程师李飛
<lifei@7v1.net>
Thu, 8 Oct 2015 20:02:35 +0000
(13:02 -0700)
committer
facebook-github-bot-4
<folly-bot@fb.com>
Fri, 9 Oct 2015 16:42:18 +0000
(09:42 -0700)
Summary: Fixes facebook/folly#323
Reviewed By: @JoelMarcey
Differential Revision:
D2518882
Pulled By: @fredemmott
fb-gh-sync-id:
fc0a07d925945f7d7e1cddb7302c8bf18e0130ab
folly/docs/Dynamic.md
patch
|
blob
|
history
diff --git
a/folly/docs/Dynamic.md
b/folly/docs/Dynamic.md
index 924bb7140bd3708b83398854b51b204f26ca885a..d807e113af30192424742d34971c2b4420442ecc 100644
(file)
--- a/
folly/docs/Dynamic.md
+++ b/
folly/docs/Dynamic.md
@@
-29,7
+29,7
@@
folly::dynamic;` was used):
dynamic array = { "array ", "of ", 4, " elements" };
assert(array.size() == 4);
dynamic emptyArray = {};
- assert(
a
rray.empty());
+ assert(
emptyA
rray.empty());
// Maps from dynamics to dynamics are called objects. The
// dynamic::object constant is how you make an empty map from dynamics