p.278 capturing references or moving ownership
Author: advocado-aiCreated Jul 22, 2026Updated Jul 22, 2026
This is a very good book that I am depending on quite heavily as my number one resource to learn Rust.
On this page I see "...based on what the body of the function does with its captured values" but since on previous pages you were just doing closures vs. functions syntax compare and contrast, I feel that for consistency, it could read "based on what the body of the closure does with its captured values".
I think that I might be nit-picking but for someone new to programming, even something like this might trip them up.
Source: rust-lang/book