Skip to content

Commit 8236ac9

Browse files
committed
Update Rust documentation (1.95.0)
1 parent abcc74f commit 8236ac9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/docs/filters/rust/clean_html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Rust
55
class CleanHtmlFilter < Filter
66
def call
77
if slug.start_with?('book') || slug.start_with?('reference') || slug.start_with?('error_codes')
8-
@doc = at_css('#content main')
8+
@doc = at_css('#mdbook-content main')
99
elsif slug.start_with?('error_codes')
1010
css('.error-undescribed').remove
1111

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.93.1'
6+
self.release = '1.95.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)