Parcourir la source

Improve chapter 1 with more linkage to Rust resources, and a full line-by-line explanation of the Hello Rust program. Also remove redundant extern crate, since Rust 2018 has obviated it.

Herbert Wolverson il y a 5 ans
Parent
commit
339d8ca67b
3 fichiers modifiés avec 71 ajouts et 4 suppressions
  1. 1 0
      .vscode/spellright.dict
  2. 70 3
      book/src/chapter_1.md
  3. 0 1
      chapter-01-hellorust/src/main.rs

+ 1 - 0
.vscode/spellright.dict

@@ -22,3 +22,4 @@ bitset
 Bitsets
 Gedminas
 Kyzrati
+gotchas

Fichier diff supprimé car celui-ci est trop grand
+ 70 - 3
book/src/chapter_1.md


+ 0 - 1
chapter-01-hellorust/src/main.rs

@@ -1,4 +1,3 @@
-extern crate rltk;
 use rltk::{Rltk, GameState, Console};
 
 struct State {}