aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorLi-Deng <18200296335@163.com>2018-01-23 01:08:13 +0800
committerWouter van Oortmerssen <aardappel@gmail.com>2018-01-22 09:08:13 -0800
commit462ce03ebe1b7133d65ed68920fe784c61731d98 (patch)
tree142fff1eb52738934972a71448af2980a6c6860c /docs/source
parent020012e69c22440d89525fd8ad7974636dc85360 (diff)
downloadflatbuffers-462ce03ebe1b7133d65ed68920fe784c61731d98.tar.gz
Fix the spell mistake (#4599)
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/CppUsage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/CppUsage.md b/docs/source/CppUsage.md
index e858e0a3..2922b4b2 100644
--- a/docs/source/CppUsage.md
+++ b/docs/source/CppUsage.md
@@ -329,7 +329,7 @@ performs a swap operation on big endian machines), and also because
the layout of things is generally not known to the user.
For structs, layout is deterministic and guaranteed to be the same
-accross platforms (scalars are aligned to their
+across platforms (scalars are aligned to their
own size, and structs themselves to their largest member), and you
are allowed to access this memory directly by using `sizeof()` and
`memcpy` on the pointer to a struct, or even an array of structs.