Skip to content

Commit

Permalink
clarify number of empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor committed May 6, 2024
1 parent 39890f8 commit 40107fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/series/.docs/instructions.append.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Consider the advantages and disadvantages of the following possibilities:
- Crash the program with `panic!`.
- Return a `Result::Err`. (not possible here, because the function signature is given)
- Return an empty vector.
- Return a vector containing `len + 1` empty strings. (this has some nice mathematical properties!)
- Return a vector containing as many empty strings as the lenght of the string "digits" **plus one**. (this has some nice mathematical properties!)

0 comments on commit 40107fd

Please sign in to comment.