Skip to content

timaxur/rust-for-rustaceans.com

 
 

Repository files navigation

Home of Reviews and Errata for "Rust for Rustaceans" by Jon Gjengset.

book cover art with excited Ferris (Rust mascot)

Submit Errata

Found a bug?

Just take a look at accepted Errata pull requests and submit in similar form.

Example

Branch / Commit / PR name: "errata print01-ch{nn}-lst{nn} syntax error in example"

---
chapter: 7
page: 103
kind: code
reporter: Jon Gjengset
date: 2022-01-09
---

Listing 7-1 has three closing parens

```rust
macro_rules! test_battery {
  ($($t:ty as $name:ident),*)) => {
    // ...
  }
}
```

but should have only two

```rust
macro_rules! test_battery {
  ($($t:ty as $name:ident),*) => {
    // ...
  }
}
```

Note:

  • reporter can be any identifier you wish, such as
    • a name or nickname (ex: Jon Gjengset)
    • a username or handle (ex: @jonhoo)
    • perhaps an email, url, etc
  • kind may be one of
    • code
    • inaccuracy
    • grammar
    • typo

Releases

No releases published

Packages

No packages published

Languages

  • CSS 65.7%
  • HTML 32.3%
  • Ruby 2.0%