aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/linked_list.h2
-rw-r--r--src/vector.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/linked_list.h b/src/linked_list.h
index 2a0939f..8a075b5 100644
--- a/src/linked_list.h
+++ b/src/linked_list.h
@@ -87,7 +87,7 @@ LinkedList *linked_list_new();
/**
* @brief Deallocates the given linked list and all its nodes.
*
- * @param ll Pointer to the linked list to delete. If NULL.
+ * @param ll Pointer to the linked list to delete.
*
* @note This function deallocates only the list structure and nodes, not
* the data they point to. The caller retains ownership of the data.
diff --git a/src/vector.h b/src/vector.h
index 7deb8d3..eaca5f8 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -84,8 +84,7 @@ Vector *vector_new(void);
/**
* @brief Deallocates the given vector.
*
- * @param v Pointer to the vector to delete. If NULL, this function
- * does nothing.
+ * @param v Pointer to the vector to delete.
*
* @note This function deallocates only the vector structure, not the
* data it contains. The caller retains ownership of the data.