doc BUGFIX typo
diff --git a/src/parser_data.h b/src/parser_data.h
index 6250e9a..903c222 100644
--- a/src/parser_data.h
+++ b/src/parser_data.h
@@ -300,7 +300,7 @@
LYD_TYPE_DATA_YANG = 0, /* generic YANG instance data */
LYD_TYPE_RPC_YANG, /* instance of a YANG RPC/action request with only "input" data children,
including all parents in case of an action */
- LYD_TYPE_NOTIF_YANG, /* instance of a YANG notification , including all parents in case of a nested one */
+ LYD_TYPE_NOTIF_YANG, /* instance of a YANG notification, including all parents in case of a nested one */
LYD_TYPE_REPLY_YANG, /* instance of a YANG RPC/action reply with only "output" data children,
including all parents in case of an action */
diff --git a/src/xpath.c b/src/xpath.c
index 59f16c4..29a32b2 100644
--- a/src/xpath.c
+++ b/src/xpath.c
@@ -5623,7 +5623,7 @@
* @param[in] moveto_mod Expected module of the node, NULL for no prefix.
* @param[in] options XPath options.
* @return LY_ERR (LY_ENOT if node does not match, LY_EINCOMPLETE on unresolved when,
- * LY_EINVAL if netither node nor any children match)
+ * LY_EINVAL if neither node nor any children match)
*/
static LY_ERR
moveto_node_check(const struct lyd_node *node, enum lyxp_node_type node_type, const struct lyxp_set *set,