1
Fork 0

Rollup merge of #54921 - GuillaumeGomez:line-numbers, r=QuietMisdreavus

Add line numbers option to rustdoc

Fixes #22878.

r? @QuietMisdreavus
This commit is contained in:
kennytm 2018-10-26 18:24:57 +08:00 committed by GitHub
commit 4212896dca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 68 additions and 14 deletions

View file

@ -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,