I really REALLY wish that folks writing Rust crates would just... LET ME wrap whatever functions they have so I don't have a 400 line main function. and it's because I can either re-implement the entire thing or figure out the magic incantation that lets me return an impl
-
-
All the type safety in the world doesn't mean anything if I'm just trying to give a function some decent defaults because the author of the function didn't think people might need that.
Prikaži ovu nit -
And no, I can't use an impl Trait because there's some mismatch that causes it to require a lifetime binding, but then it gets angry and says that it found a concrete lifetime. Does the error make any sense? yes. Do the solutions others have make any sense? Absolutely not.
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.


| xe/xyr