2 ms·
Someone helped me with it: I had to change the `apply` function to dereference as well, that way it doesn't run into the lifetime issue. It has something to do
by iopq 10y ago
Someone helped me with it:
I had to change the `apply` function to dereference as well, that way it doesn't run into the lifetime issue. It has something to do with higher ranked lifetimes (the inability to express the higher ranked lifetime)
This is the working version:
https://bitbucket.org/iopq/fizzbuzz-in-rust/src/95451868e27ff1953512fa88afca626d88e9032e/src/lib.rs?at=master&fileviewer=file-view-default https://bitbucket.org/iopq/fizzbuzz-in-rust/src/95451868e27f...