Browse Source

Update Rust documentation (1.58.1)

Simon Legner 3 years ago
parent
commit
8eeba1567b
2 changed files with 2 additions and 1 deletions
  1. 1 0
      assets/stylesheets/pages/_rust.scss
  2. 1 1
      lib/docs/scrapers/rust.rb

+ 1 - 0
assets/stylesheets/pages/_rust.scss

@@ -2,6 +2,7 @@
   @extend %simple;
 
   h4 { @extend %block-label; }
+  .code-header { @extend %code; }
   .docblock { margin-left: 1em; }
   div.information, div.important-traits {
     @extend %note;

+ 1 - 1
lib/docs/scrapers/rust.rb

@@ -3,7 +3,7 @@
 module Docs
   class Rust < UrlScraper
     self.type = 'rust'
-    self.release = '1.57.0'
+    self.release = '1.58.1'
     self.base_url = 'https://doc.rust-lang.org/'
     self.root_path = 'book/index.html'
     self.initial_paths = %w(