doc MAINTENANCE typos
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 204fb51..7e094ff 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -609,7 +609,7 @@
  *
  * If the feature is already set to the desired value, LY_SUCCESS is returned.
  * By changing the feature, also all the feature which depends on it via their
- * if-feature statements are again evaluated (disabled if a if-feature statemen
+ * if-feature statements are again evaluated (disabled if a if-feature statement
  * evaluates to false).
  *
  * @param[in] mod Module where to set (search for) the feature.
diff --git a/src/tree_schema.h b/src/tree_schema.h
index f0aad57..9d22a55 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -116,7 +116,7 @@
 /**
  * @page howtoSchemaFeatures YANG Features
  *
- * YANG feature statement is an iportant part of the language which can significantly affect the meaning of the schemas. Despite
+ * YANG feature statement is an important part of the language which can significantly affect the meaning of the schemas. Despite
  * the features have similar effect as loading/removing schema from the context, manipulating with the feature value is not
  * limited to the context preparation period before working with data. YANG features, respectively their use in if-feature
  * statements, are evaluated as part of the [data validation process](@ref howtoDataValidation).