Skip to content

Commit abf5866

Browse files
authored
Merge pull request #46 from laysakura/section-2_8_2
2.8 Q2: issueでの議論を踏まえ、Rustでの再現を諦める旨を unimplemented!() で伝えるだけのプログラムを追加
2 parents e74bf93 + 334096d commit abf5866

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

chapter2/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ path = "src/2_4_4/client.rs"
2727
[[bin]]
2828
name = "server_2_4_4"
2929
path = "src/2_4_4/server.rs"
30+
31+
[[bin]]
32+
name = "2_8_2"
33+
path = "src/2_8_2/main.rs"

chapter2/src/2_8_2/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
unimplemented!("『Goならわかるシステムプログラミング』の該当問題は `encoding/csv` パッケージを使うことが主題なので、Rustへの移植はできない。");
3+
}

0 commit comments

Comments
 (0)