76
submitted 9 months ago by [email protected] to c/[email protected]
top 10 comments
sorted by: hot top new old
[-] [email protected] 15 points 9 months ago

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)

[-] [email protected] 9 points 9 months ago

That seems like quite a lot of booms.

[-] [email protected] 6 points 9 months ago

Return impl go boom

this post was submitted on 07 Sep 2024
76 points (97.5% liked)

Rust

7071 readers
24 users here now

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

Wormhole

[email protected]

Credits

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

founded 2 years ago
MODERATORS