mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
fix: a typo in data_structures/linked_list.cpp
(#1843)
This commit is contained in:
parent
e6d7002405
commit
5074ed296b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user