|
s.chars().map(move |c| self.print_char(c)).next_back(); |
This line of code uses .next_back(), which only prints the final character of the string.
Earlier revisions apparently used .last() which would evaluate the whole iterator. (I can confirm that changing it back to .last() works.)