What does a single quote before a type param mean in rust? ala 'self and 'static. Docs seem missing. /cc @steveklabnik @pcwalton
-
-
@pcwalton@steveklabnik But now that I know that and read the code that uses it, makes sense! It allows the compiler to know when to destroy -
@evanphx@steveklabnik Right. They're "for all" in a type sense (why they go into <>), but we should work on making that clearer in docs - 3 more replies
New conversation -
-
-
@pcwalton Ok. Confusing since they're in the <> too.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.