book icon indicating copy to clipboard operation
book copied to clipboard

ch13-03: Use correct variable name

Open brunojppb opened this issue 2 years ago • 0 comments

Hey Rust folks 👋 ,

First of, thanks for this amazing book! Now onto this tiny fix. The code where this paragraph references to uses file_path instead of filename as the variable name:

https://github.com/rust-lang/book/blob/a60f4316ec923a5ac2ed6a2eba6960edb832d855/listings/ch13-functional-features/listing-13-20/src/lib.rs#L23-L25

This fix should use the matching variable name according to the Rust code.

brunojppb avatar Dec 04 '22 11:12 brunojppb