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

Ch. 10.2: invalid reference to chapter 17 (it should be 18) #240

Open
oparisy opened this issue Jan 4, 2025 · 0 comments
Open

Ch. 10.2: invalid reference to chapter 17 (it should be 18) #240

oparisy opened this issue Jan 4, 2025 · 0 comments

Comments

@oparisy
Copy link

oparisy commented Jan 4, 2025

  • I have searched open and closed issues and pull requests for duplicates, using these search terms:

    • 10.2
  • I have checked the latest main branch to see if this has already been fixed, in this file:

    • This discrepancy is not present in main

URL to the section(s) of the book with this problem: https://rust-book.cs.brown.edu/ch10-02-traits.html

Description of the problem: The last sentence of "Returning Types That Implement Traits" is "We’ll cover how to write a function with this behavior in the “Using Trait Objects That Allow for Values of Different Types” section of Chapter 17."

Suggested fix: This should read as "We’ll cover how to write a function with this behavior in the “Using Trait Objects That Allow for Values of Different Types” section of Chapter 18."

Note: chapter numbering is not the same between the Experimental and main book, due to the insertion of chapter "17. Async and Await". This may explain the discrepancy.

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

1 participant