yuk1ty / learning-systems-programming-in-rust

「Rustでもわかるシステムプログラミング」
430 stars 23 forks source link

add 4_5 #95

Closed shnmorimoto closed 3 years ago

shnmorimoto commented 3 years ago

対象の Issue

31

動作確認結果

Go

> go run main.go
5 seconds elapsed

Rust

➜ cargo run -p chapter4 --bin 4_5
   Compiling chapter4 v0.1.0 (/home/shnmorimoto/Work/rust-sandbox/learning-systems-programming-in-rust/chapter4)
    Finished dev [unoptimized + debuginfo] target(s) in 0.91s
     Running `target/debug/4_5`
5 secondes elapsed
yuk1ty commented 3 years ago

よさそうです!