What does a single quote before a type param mean in rust? ala 'self and 'static. Docs seem missing. /cc @steveklabnik @pcwalton
-
-
Replying to @evanphx
@evanphx@steveklabnik http://static.rust-lang.org/doc/master/tutorial-borrowed-ptr.html#named-lifetimes …2 replies 0 retweets 0 likes -
Replying to @pcwalton
@pcwalton@steveklabnik I don't see anything about the quote. Is the quote somehow indicating which param defines lifetime?1 reply 0 retweets 0 likes
Replying to @evanphx
@evanphx @steveklabnik Yup. 'foo is a separate lexical token, LIFETIME
5:29 PM - 19 Dec 2013
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.