# Hands-on Rust: Wrong highilight (67)

**URL:** <https://forum.devtalk.com/t/hands-on-rust-wrong-highilight-67/13973>\
**Category:** PragProg Customers\
**Tags:** book-hands-on-rust, errata\
**Created:** [20 July 2021 15:13 UTC](https://forum.devtalk.com/t/hands-on-rust-wrong-highilight-67/13973 "2021-07-20T15:13:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nusco](https://forum.devtalk.com/user_avatar/forum.devtalk.com/nusco/32/5449_2.png) [@nusco](https://forum.devtalk.com/u/nusco)\
**Post date:** [20 July 2021 15:13 UTC](https://forum.devtalk.com/t/hands-on-rust-wrong-highilight-67/13973/1 "2021-07-20T15:13:48Z")

</div>

In the `restart()` function, there are two highlighted lines–the one that begins with `self.obstacle`, and the one that begins with `self.mode`. However, the second is unchanged since the previous version of the code. The one that should be highlighted is the one after it, that begins with `self.score`.

---

<div class="post-metadata">

**Author:** ![herbert](https://forum.devtalk.com/user_avatar/forum.devtalk.com/herbert/32/1233_2.png) [@herbert](https://forum.devtalk.com/u/herbert)\
**Post date:** [20 July 2021 15:57 UTC](https://forum.devtalk.com/t/hands-on-rust-wrong-highilight-67/13973/2 "2021-07-20T15:57:27Z")

</div>

Thank you! I hope you’re enjoying the book. I’ve noted it down in the errata list; because Hands-on Rust is in-print, I can’t readily make changes right now. If there’s a 2nd edition in the future, I’ll include your errata in there.

---

<div class="post-metadata">

**Author:** ![nusco](https://forum.devtalk.com/user_avatar/forum.devtalk.com/nusco/32/5449_2.png) [@nusco](https://forum.devtalk.com/u/nusco)\
**Post date:** [20 July 2021 16:37 UTC](https://forum.devtalk.com/t/hands-on-rust-wrong-highilight-67/13973/3 "2021-07-20T16:37:21Z")

</div>

Yup, Herbert–I’m having a lot of fun with this book!  
And as for the update: I’m a fellow author, so I know how it works. 😃

---

<div class="post-metadata">

**Author:** ![herbert](https://forum.devtalk.com/user_avatar/forum.devtalk.com/herbert/32/1233_2.png) [@herbert](https://forum.devtalk.com/u/herbert)\
**Post date:** [20 July 2021 16:38 UTC](https://forum.devtalk.com/t/hands-on-rust-wrong-highilight-67/13973/4 "2021-07-20T16:38:24Z")

</div>

> [@nusco](#):
>
> And as for the update: I’m a fellow author, so I know how it works.

Sorry, I should have noticed that! Thanks. 🙂
