Anyone else messing around with Rust? If so, what are your pain points?
@conradirwin yeah that's definitely when ownership and lending become the most abstract. A struct lives as long as it's shortest field.
-
-
@wycats Yeah. I actually struggled with that "invertedness". It felt that the lifetime of a field should be due to the lifetime of a struct. -
@conradirwin but if you make a struct and toss in a bunch of values, it must not be used as soon as any contained value is returned right? -
@wycats It definitely makes sense once you understand, it was just a pain point for me playing with rust. (the lifetime docs don't cover it) -
@conradirwin yeah totally. Do@steveklabnik's new docs help?
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.