Hands-on Rust (Pragmatic Bookshelf)

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

srfink0
It appears that impl GameState { … fn advance_level(&mut self) {} strong textshould bestrong text impl State, not impl GameState… In ...
New

Most Active Last Three Years Top

erazor-de
@herbert In the part “Fill the Map With Walls” on page 90 it is stated that the iterator passes variable t inside the closure as referen...
New
erazor-de
On page 206 (Talking about P1.0) the trait MapArchitect is defined with the function ‘new’. In the last paragraph of this page the functi...
New

Most Active Over Three Years Top

mikecargal
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) It looks like ​.with_simple_console_no_bg​(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
New
mikecargal
Title: Hands-On Rust (Chapter 11: prefab) Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New
pragmoose
After finishing the code at the end of Chapter 7 and running it, monsters sometimes don’t get destroyed on collision. Instead, the player...
New
mikecargal
Please use the following format for the title of this thread (then simply delete/replace this text with the content for the thread): Tit...
New
arohl
I get a significant glitch on my raspberry pi - there is a thin line to the left of the player that runs from the top of the screen to th...
New
mishan88
MapBuilder doesn’t have new method. MapBuilder::new -> MapBuilder::build
New
Chocrates
In the end of chapter 7 we write the movement function in movement.rs We call the camera on_player_move method like so: camera​.on_play...
New
kkprog
The call to map_idx on the render function of map (let idx = map_idx(x, y) ; ) caused error ‘error[E0425]: cannot find function map_idx i...
New
ksorensen
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 “...
New
aranasaurus
The description for a while loop is inverted. It currently reads “run the enclosed code until x evaluates to true” it should either be “w...
New
cipher
➾ cargo run ❮ Hello, what’s your name? ➾ Bert ❮ Welcome to the Treehouse, Bert Bert should be lowercase on the output (after Treehous...
New
eric
When introducing the camera, compilation errs as the change to the map’s render method is not reflected in src/main.rs, if just following...
New
seanjseymour
Hi, on page 25 in the Trimming Input section, after this text: “You can see this by replacing your last println! call with the following...
New
ksorensen
Looks like Legion 0.3.0 is not compiling with Rust 1.49.0. Legion 0.3.1 appears OK so far.
New
bigfleet
The very top of pg. 83 is a seemingly stray: impl Map { It’s preceded and followed by map implementation pieces, so perhaps it’s just a...
New

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.