Skip to content

rustbook: Generics chapter trait confusion #24621

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

Closed
Munksgaard opened this issue Apr 20, 2015 · 1 comment
Closed

rustbook: Generics chapter trait confusion #24621

Munksgaard opened this issue Apr 20, 2015 · 1 comment

Comments

@Munksgaard
Copy link
Contributor

The generics chapter ends like this:

To fix this example, we need to learn about another Rust feature: traits.

But the generics chapter (5.23) comes after the traits chapter (5.21). However, there is a trait object chapter (5.25) that comes after the generics chapter.

@steveklabnik
Copy link
Member

#24571 Will fix this. Thanks!

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

2 participants