ZhangHanDong / tao-of-rust-codes

《Rust编程之道》随书源码
https://ruststudy.github.io/tao_of_rust_docs/tao_of_rust/
MIT License
1.19k stars 170 forks source link

[第六章] 6.2.3 闭包所有权疑似印刷问题 #64

Closed flame4 closed 5 years ago

flame4 commented 5 years ago

页码与行数


文本或排版错误

代码清单6-32, 第9行代码, 'c;' 应该是 'c();' ?

ZhangHanDong commented 5 years ago

@flame4 是的。排版错了。以随书源码为准。

https://ruststudy.github.io/tao_of_rust_docs/tao_of_rust/ch06/closures/fn.closure_gen_type.html