From 2d4bdcdbfe9e3db3c0f204e843a271c929fec623 Mon Sep 17 00:00:00 2001 From: Mikkel Thestrup Date: Sun, 7 Dec 2025 01:25:33 +0100 Subject: change docstring --- src/linked_list.h | 2 +- src/vector.h | 3 +-- 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. -- cgit v1.2.3-70-g09d2