jonhoo / rust-for-rustaceans.com

Source for https://rust-for-rustaceans.com/

Home Page:https://rust-for-rustaceans.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Source for https://rust-for-rustaceans.com/

https://rust-for-rustaceans.com/


Languages

Language:CSS 65.7%Language:HTML 32.3%Language:Ruby 2.0%