Add line numbers option to rustdoc
This commit is contained in:
parent
eb50e75729
commit
e961d397ca
6 changed files with 68 additions and 14 deletions
|
@ -1709,6 +1709,7 @@ impl<'a> Settings<'a> {
|
|||
("method-docs", "Auto-hide item methods' documentation", false),
|
||||
("go-to-only-result", "Directly go to item in search if there is only one result",
|
||||
false),
|
||||
("line-numbers", "Show line numbers on code examples", false),
|
||||
],
|
||||
root_path,
|
||||
suffix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue