% cargo run --bin 3_5_1
Compiling chapter3 v0.1.0 (/Users/sho.nakatani/.ghq/src/github.com/yuk1ty/learning-systems-programming-in-rust/chapter3)
Finished dev [unoptimized + debuginfo] target(s) in 0.91s
Running `target/debug/3_5_1`
Section
Example of io.Li
対象の Issue
Refs: #13
動作確認結果
Go
プログラム: https://play.golang.org/p/gpxHDVLKjWV
Rust
(出力が
... io.Se
と... io.Li
と異なっているのは、Goの方はLimitedReaderを使っている方でもSectionReaderを使ってる風な文字列を流用しているからです)