Hands-on Rust: Various Typos/Notes B4.0
hands-on-rust_B4.0.pdf
A few more notes. I tried to remove duplicates that others have already posted. Hopefully these are new.
p218
“Don’t forget to activate your module: open map_builder/mod.rs , and insert a line
that imports the module ( mod rooms; ).”
I reported previous examples like this where you have a “use” statement in the code archives but not in the text or code snippets.
use rooms::RoomsArchitect;
The code in the snippets do not compile without this.
p238
When apply_prefab to the build function, there is no mention of adding
mod prefab;
to mam_builder\mods.rs
As above , your archive code also include a use statement:
use prefab::apply_prefab;
p246
When apply_prefab to the build function, there is no mention of adding
mod themes;
to map_builder\mods.rs
or, as seen in in your archive code:
pub use themes::*;
p278 Instruction
We do not have a map variable declared so the code snippet does not compile. Code archive shows the map as a resource in the end_turn function parameters.
Popular Prag Prog topics









Modern Front-End Development for Rails - application does not start after run bin/setup (page xviii)

Other popular topics









Latest in PragProg
Latest (all)
Categories:
My Saved Portals
-
None saved yet
Popular Portals
- /elixir
- /opensuse
- /rust
- /kotlin
- /ruby
- /erlang
- /python
- /clojure
- /react
- /quarkus
- /go
- /vapor
- /v
- /react-native
- /wasm
- /security
- /django
- /nodejs
- /centos
- /haskell
- /rails
- /fable
- /gleam
- /swift
- /js
- /deno
- /assemblyscript
- /tailwind
- /laravel
- /symfony
- /phoenix
- /crystal
- /typescript
- /debian
- /adonisjs
- /julia
- /arch-linux
- /svelte
- /spring
- /preact
- /flutter
- /c-plus-plus
- /actix
- /java
- /angular
- /ocaml
- /zig
- /kubuntu
- /scala
- /zotonic
- /vim
- /rocky
- /lisp
- /html
- /keyboards
- /vuejs
- /nim
- /emacs
- /nerves
- /elm