Skip to content

Commit 1aec393

Browse files
committed
Remove visible anchor links from Rust Reference
1 parent e1e9f8b commit 1aec393

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/docs/filters/rust/clean_html.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def call
3232

3333
css('.doc-anchor').remove
3434

35+
css('.rule-link').remove
36+
3537
# Fix notable trait sections
3638
css('.method, .rust.trait').each do |node|
3739
traitSection = node.at_css('.notable-traits')

0 commit comments

Comments
 (0)