Skip to content

Commit

Permalink
fix: a typo in data_structures/linked_list.cpp (TheAlgorithms#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
rynrin authored Nov 14, 2021
1 parent e6d7002 commit 5074ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_structures/linked_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace linked_list {
* This function checks if the string passed consists
* of only digits.
* @param s To be checked if s contains only integers
* @returns true if there are only only digits present in the string
* @returns true if there are only digits present in the string
* @returns false if any other character is found
*/
bool isDigit(const std::string& s) {
Expand Down

0 comments on commit 5074ed2

Please sign in to comment.