code icon indicating copy to clipboard operation
code copied to clipboard

Source code for the book Rust in Action

Results 75 code issues
Sort by recently updated
recently updated
newest added

Section 7.7.11 points out a problem of actionkv v1 is that it has long start up time and describes a way to shorten it by storing the index itself on...

code for needle-in-haystack is missing. I wanted to double check here as the octal 0o204; doesnt match anything and prints nothing to the console.

I try to build `mget` on rust v1.60 on mac and the build fails because of: ``` ➜ ch8-mget git:(1st-edition) ✗ cargo build Compiling mget v0.1.0 (/Users/adria/Programming/rust-in-action/ch8/ch8-mget) error[E0432]: unresolved import...

running `cargo +nightly run` on `ch11/ch11-fledge-os-0` returns the following: ```rs error[E0557]: feature has been removed --> /home/username/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/x86_64-0.13.5/src/lib.rs:5:43 | 5 | #![cfg_attr(feature = "const_fn", feature(const_fn))] // Needed for generic access to...

This is missing from the git repo, but included in the zip download from the main site. Simply added from other source.

Removes empty comment from `main` function.

The `ch12/noop` from section 12.7 doesn't exists