fix: a typo in data_structures/linked_list.cpp (#1843)

This commit is contained in:
rynrin 2021-11-14 13:33:16 +07:00 committed by GitHub
parent e6d7002405
commit 5074ed296b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {