aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Thestrup <mithe24@student.sdu.dk>2025-12-07 01:25:33 +0100
committerMikkel Thestrup <mithe24@student.sdu.dk>2025-12-07 01:25:33 +0100
commit2d4bdcdbfe9e3db3c0f204e843a271c929fec623 (patch)
tree5f0a556ee3e0d7b9286e1954bf7fb9b30b144dbc
parentd02d9e5018ff177f39b953f5d7f2a5a558a3d81a (diff)
downloadcycle-detector-2d4bdcdbfe9e3db3c0f204e843a271c929fec623.tar.gz
cycle-detector-2d4bdcdbfe9e3db3c0f204e843a271c929fec623.zip
change docstring
Diffstat (limited to '')
-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.