From b05ca3d342e52a482f69a781557e64c15d8b52a4 Mon Sep 17 00:00:00 2001 From: Piotr Idzik <65706193+vil02@users.noreply.github.com> Date: Tue, 31 Jan 2023 21:45:44 +0100 Subject: [PATCH] docs: document `main` Co-authored-by: David Leal --- data_structures/avltree.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data_structures/avltree.cpp b/data_structures/avltree.cpp index 19053224a..707841c0d 100644 --- a/data_structures/avltree.cpp +++ b/data_structures/avltree.cpp @@ -176,6 +176,10 @@ void levelOrder(node *root) { } } +/** + * @brief Main function + * @returns 0 on exit + */ int main() { // Testing AVL Tree node *root = nullptr;