Skip to content

Commit febe65d

Browse files
committed
Update Rust documentation (1.80.0)
1 parent 7ff958a commit febe65d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

assets/stylesheets/pages/_rust.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
em.stab, span.stab { @extend %label; }
1515
em.stab.unstable, span.stab.unstable { @extend %label-orange; }
1616
.out-of-band { float: right; }
17-
.since, .srclink {
17+
.since, .src, .rightside {
1818
float: right;
1919
margin-left: .5rem;
2020
}

lib/docs/filters/rust/clean_html.rb

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

33+
css('.doc-anchor').remove
34+
3335
# Fix notable trait sections
3436
css('.method, .rust.trait').each do |node|
3537
traitSection = node.at_css('.notable-traits')

lib/docs/scrapers/rust.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Docs
44
class Rust < UrlScraper
55
self.type = 'rust'
6-
self.release = '1.79.0'
6+
self.release = '1.80.0'
77
self.base_url = 'https://doc.rust-lang.org/'
88
self.root_path = 'book/index.html'
99
self.initial_paths = %w(

0 commit comments

Comments
 (0)