There are automated checks for some of these rules. Run cargo xtask style-check to run them locally.
--- for an em-dash instead of the Unicode character. Characters such as the em dash can be difficult to see in a fixed-width editor, and some editors may not have easy methods to enter such characters.See the links chapter for more information about linking.
Links to other chapters should be relative and use the .md extension.
Links to other rust-lang books that are published with the Reference should also be relative so that the linkchecker can validate them. See outside book links.
Links to the standard library should use rustdoc-style links as described in standard library links.
The use of reference links is preferred, with shortcuts if appropriate. Place sorted link reference definitions at the bottom of the file, or at the bottom of a section if there is an unusually large number of links specific to that section.
Example of shortcut link: [enumerations] Example of reference link with label: [block expression][block] [block]: expressions/block-expr.md [enumerations]: types/enum.md