amethyst / amethyst/rustrogueliketutorial
Wrong code snippet in chapter 66
Aperta
- Lingua principale
- Rust
- Stelle
- 970
- Fork
- 166
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
https://github.com/amethyst/rustrogueliketutorial/blob/33872fe582f226178436847e1f74eafcbf9c0d1a/book/src/chapter_66.md?plain=1#L517
The code referenced here is wrong, the text mentions the _next_ line (where the reader is supposed to pass the new argument `creator` to find_item_position):
```rust
if let Some(start_pos) = targeting::find_item_position(ecs, entity, creator) {
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.