amethyst / amethyst/rustrogueliketutorial
Wrong code snippet in chapter 66
Ouverte
- Langage dominant
- Rust
- Étoiles
- 970
- Forks
- 166
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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) {
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.