diff --git a/lib/docs/filters/rust/clean_html.rb b/lib/docs/filters/rust/clean_html.rb
index 30b9318a..650afdb1 100644
--- a/lib/docs/filters/rust/clean_html.rb
+++ b/lib/docs/filters/rust/clean_html.rb
@@ -45,6 +45,11 @@ module Docs
node.remove if node.content.include?('#[must_use]')
end
+ css('details').each do |node|
+ node.css('summary:contains("Expand description")').remove
+ node.before(node.children).remove
+ end
+
css('a.header').each do |node|
unless node.first_element_child.nil?
node.first_element_child['id'] = node['name'] || node['id']
diff --git a/lib/docs/scrapers/rust.rb b/lib/docs/scrapers/rust.rb
index 65bbbb07..e0507695 100644
--- a/lib/docs/scrapers/rust.rb
+++ b/lib/docs/scrapers/rust.rb
@@ -3,7 +3,7 @@
module Docs
class Rust < UrlScraper
self.type = 'rust'
- self.release = '1.53.0'
+ self.release = '1.54.0'
self.base_url = 'https://doc.rust-lang.org/'
self.root_path = 'book/index.html'
self.initial_paths = %w(