What does a single quote before a type param mean in rust? ala 'self and 'static. Docs seem missing. /cc @steveklabnik @pcwalton
-
-
@pcwalton@steveklabnik Oh! Is 'r not a type parameter but just a lifetime indicator? - 5 more replies
New conversation -
-
-
@pcwalton@steveklabnik I don't see anything about the quote. Is the quote somehow indicating which param defines lifetime? -
@evanphx@steveklabnik Yup. 'foo is a separate lexical token, LIFETIME
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.