summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/developer/lists.rst4
-rw-r--r--doc/user/basic.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/developer/lists.rst b/doc/developer/lists.rst
index 4eaa85115..43b2ebfcc 100644
--- a/doc/developer/lists.rst
+++ b/doc/developer/lists.rst
@@ -62,7 +62,7 @@ in the future:
The APIs are all designed to be as type-safe as possible. This means that
there will be a compiler warning when an item doesn't match the container, or
the return value has a different type, or other similar situations. **You
-should never use casts with these APIs.** If a cast is neccessary in relation
+should never use casts with these APIs.** If a cast is necessary in relation
to these APIs, there is probably something wrong with the overall design.
Only the following pieces use dynamically allocated memory:
@@ -650,7 +650,7 @@ Atomic lists
`atomlist.h` provides an unsorted and a sorted atomic single-linked list.
Since atomic memory accesses can be considerably slower than plain memory
accessses (depending on the CPU type), these lists should only be used where
-neccessary.
+necessary.
The following guarantees are provided regarding concurrent access:
diff --git a/doc/user/basic.rst b/doc/user/basic.rst
index ea4b3f41f..42faefd10 100644
--- a/doc/user/basic.rst
+++ b/doc/user/basic.rst
@@ -471,7 +471,7 @@ recommendations apply in regards to upgrades:
for differences against your old configuration. If any defaults changed
that affect your setup, lines may appear or disappear. If a new line
appears, it was previously the default (or not supported) and is now
- neccessary to retain previous behavior. If a line disappears, it
+ necessary to retain previous behavior. If a line disappears, it
previously wasn't the default, but now is, so it is no longer necessary.
3. Check the log files for deprecation warnings by using ``grep -i deprecat``.