Closed
Description
While practicing my Rust skills by writing a version of GNU cat, I ran into an error that told me to report the results here. The file and the error are included in this gist:
https://gist.github.com/dradtke/7458284
The error only occurs when I try to have cat_files
accept an Iterator. If I refactor the code so that it accepts a borrowed pointer to an owned vector of owned strings, then it works.