Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifetime bounds are missing from the documentation #613

Closed
tomjakubowski opened this issue Jul 6, 2015 · 2 comments
Closed

Lifetime bounds are missing from the documentation #613

tomjakubowski opened this issue Jul 6, 2015 · 2 comments

Comments

@tomjakubowski
Copy link
Contributor

A question I see asked frequently is what the heck 'a: 'b means in a bound like this:

struct Foo<'a, 'b> where 'a: 'b {
    /* ... */
}

I didn't see this question addressed in either the section on bounds or the section on lifetimes.

@mdinger
Copy link
Contributor

mdinger commented Aug 15, 2015

This is now explained in either lifetime/bounds or lifetime/coercion though 'a: 'b isn't listed under one of the rules...maybe it should be added.

Either way though, it's at least mostly covered

@steveklabnik
Copy link
Member

Yup. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants