Skip to content

Commit 8f8a5fb

Browse files
committed
doc: improve documentation of validatePattern function
1 parent 87c5e3e commit 8f8a5fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/validators.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ int validateDelay(char* delay);
2727
int validateGeneration(char* generation);
2828

2929
/**
30-
* @brief Validates the pattern of user input.
30+
* @brief Validates a pattern.
3131
*
32-
* This function checks if the user input matches `glider`, `toad`, `press`, or
33-
* `glider cannon` pattern. The comparison is case insensitive.
32+
* This function checks if a provided pattern matches `glider`, `toad`, `press`, or
33+
* `glider cannon`. The comparison is case insensitive.
3434
*
35-
* @param userInput The user input to be validated.
35+
* @param userInput The pattern to be validated.
3636
*
3737
* @return 1 if the pattern is valid, 0 otherwise.
3838
*/

0 commit comments

Comments
 (0)