Chapter 7.3: intro says that `super` starts with the current module
Author: karolinepaulsCreated Sep 22, 2026Updated Sep 22, 2026
- I have searched open and closed issues and pull requests for duplicates, using these search terms:
- "A relative path starts from the current module and uses self, super, or an identifier in the current module."
- "chapter 7.3"
- 07-03
- ch07-03
- I have checked the latest
mainbranch to see if this has already been fixed, in this file:
URL to the section(s) of the book with this problem: https://doc.rust-lang.org/stable/book/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.html#paths-for-referring-to-an-item-in-the-module-tree
Description of the problem: The sentence:
A relative path starts from the current module and uses self, super, or an identifier in the current module.
reads like super starts from the current module, while in reality it starts in the parent module.
Suggested fix:
A relative path starts with
self,super, or an identifier in the current module, and:
- for
self, it starts from the current module- for
super, it starts in the current module's parent module- for an identifier, it starts with the identifier's module.
Source: rust-lang/book