You are viewing a single thread.
View all comments
15 points

Reading this, the return impl complexity seemed insane.

Then, by accident, i programmed on a pet project until 4 in the night, and boom, I’ve had the exact problem they’re solving. Remembered that I usually need an extra lifetime in the impl definition, and boom, it worked. Doesn’t seem so insane anymore.

(Was working on a little Webservice with warp, and returning their filters from a function)

permalink
report
reply
9 points

That seems like quite a lot of booms.

permalink
report
parent
reply
6 points

Return impl go boom

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 578

    Monthly active users

  • 812

    Posts

  • 3.7K

    Comments