Hey Rust folks, is there any docs on why there are 2 lifetimes declared here? https://github.com/gchp/iota/blob/master/src/iota/view.rs#L29 … /cc @steveklabnik @pcwalton
-
-
Replying to @evanphx1 reply 0 retweets 0 likes
-
Replying to @steveklabnik
@steveklabnik@pcwalton Ok.@carllerche got me to finally get it. It's because impl<> is generic and, yeah, applies it's generic lifetime.2 replies 0 retweets 0 likes -
-
Replying to @steveklabnik
@steveklabnik@pcwalton@carllerche can you leave off the <> from impl or does the compiler say "this shit is generic! Get with it!"1 reply 0 retweets 0 likes -
Replying to @evanphx
@evanphx@pcwalton@carllerche 'error: use of undeclared lifetime name 'v"1 reply 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik@pcwalton@carllerche Gotcha. It just looks funny to my untrained eye then, like a weird stutter.4 replies 0 retweets 0 likes
Replying to @evanphx
@evanphx Yeah. My initial reaction to impl declarations was O_O too. You get used to it. @steveklabnik @pcwalton @carllerche
5:00 PM - 11 Dec 2014
0 replies
0 retweets
0 likes
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.