Skip to content

Commit 7ae10a6

Browse files
committed
chore: remove redundant line in docstring of empty method
1 parent 7c442b8 commit 7ae10a6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

data_structures/stack_using_array.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#include <cassert> /// For std::assert
2-
#include <iostream> /// For std::cout
3-
#include <memory> /// For std::unique_ptr
4-
#include <stdexcept> /// For std::out_of_range
1+
#include <cassert> /// For std::assert
2+
#include <iostream> /// For std::cout
3+
#include <memory> /// For std::unique_ptr
4+
#include <stdexcept> /// For std::out_of_range
55

66
/**
77
* @namespace
@@ -36,7 +36,6 @@ class Stack {
3636

3737
/**
3838
* @brief Checks if the stack is empty
39-
*
4039
* @return true if the stack is empty, false otherwise
4140
*/
4241
bool empty() const { return stackIndex == -1; }

0 commit comments

Comments
 (0)