Skip to content

Fix typo in ch07-04-bringing-paths-into-scope-with-the-use-keyword - #4512

Closed
occarjlg6 wants to merge 1 commit into
rust-lang:mainfrom
occarjlg6:main
Closed

Fix typo in ch07-04-bringing-paths-into-scope-with-the-use-keyword#4512
occarjlg6 wants to merge 1 commit into
rust-lang:mainfrom
occarjlg6:main

Conversation

@occarjlg6

Copy link
Copy Markdown

These are the two (2) changes I made:

  • Changed restaurant::front_of_house::hosting::add_to_waitlist() to crate::front_of_house::hosting::add_to_waitlist().
  • Changed restaurant::hosting::add_to_waitlist() to crate::hosting::add_to_waitlist().

@occarjlg6 occarjlg6 closed this Sep 21, 2025
@occarjlg6 occarjlg6 reopened this Sep 21, 2025
@occarjlg6

Copy link
Copy Markdown
Author

Closing this PR - I realized I was incorrect about this being a typo. The book says "external code", so using "restaurant" here instead of "crate" is correct.

Apologies for the inconveniences.

@occarjlg6 occarjlg6 closed this Sep 21, 2025
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

Successfully merging this pull request may close these issues.

1 participant