You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.