Skip to content
This repository was archived by the owner on Oct 13, 2020. It is now read-only.

Commit e091ed2

Browse files
committed
docs typos
1 parent 6caf169 commit e091ed2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/bson_endianness.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<info><link type="guide" xref="index#xplat"/></info>
66

77
<section id="keys">
8-
<p>The BSON specification dictates that the encoding format is in little-endian. Many implementations simply ignore endianess altogether and expect that they are to be run on little-endian. Libbson supports both Big and Little Endian systems. This means we use <code>memcpy()</code> when appropriate instead of dereferencing and properly convert to and from the hoste endian format. We expect the compiler intrinsics to optimize it to a dereference when possible.</p>
8+
<p>The BSON specification dictates that the encoding format is in little-endian. Many implementations simply ignore endianness altogether and expect that they are to be run on little-endian. Libbson supports both Big and Little Endian systems. This means we use <code>memcpy()</code> when appropriate instead of dereferencing and properly convert to and from the hoste endian format. We expect the compiler intrinsics to optimize it to a dereference when possible.</p>
99
</section>
1010

1111
</page>

doc/bson_iter_init.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bson_iter_init (bson_iter_t *iter,
3333

3434
<section id="return">
3535
<title>Returns</title>
36-
<p>Returns true if the iter was successfuly initialized.</p>
36+
<p>Returns true if the iter was successfully initialized.</p>
3737
</section>
3838

3939
<section id="example">

doc/bson_iter_overwrite_int64.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bson_iter_overwrite_int64 (bson_iter_t *iter,
2828

2929
<section id="description">
3030
<title>Description</title>
31-
<p>The <code xref="bson_iter_overwrite_int64">bson_iter_overwrite_int64()</code> function shall overwite the contents of a BSON_TYPE_INT64 element in place.</p>
31+
<p>The <code xref="bson_iter_overwrite_int64">bson_iter_overwrite_int64()</code> function shall overwrite the contents of a BSON_TYPE_INT64 element in place.</p>
3232
<p>This may only be done when the underlying bson document allows mutation.</p>
3333
<p>It is a programming error to call this function when <code>iter</code> is not obvserving an element of type BSON_TYPE_INT64.</p>
3434
</section>

0 commit comments

Comments
 (0)