Re:Writing a JPEG Decoder in Rust – Part 2: Implementation I
by Tuna-Fish on Friday August 19, 2016 @03:37PM
(#12322884)
It allows changing implementation depending on what you pass it, but it cannot change how you pass things. The issue is that if you just call zip(code_lengths), then ownership of code_lengths is passed into the function and it ceases to work in it's parent.
[ Parent
| on HN ]
There are no comments on this comment yet.