weihanglo / rust-algorithm-club

Learn algorithms and data structures with Rust
https://weihanglo.tw/rust-algorithm-club
MIT License
407 stars 43 forks source link

make Rust code in documentation executable #24

Closed henry40408 closed 2 years ago

henry40408 commented 5 years ago

like how Rust code in Rust book works

weihanglo commented 5 years ago

Reference: https://rust-lang-nursery.github.io/mdBook/format/mdbook.html

henry40408 commented 2 years ago

rust code is executable now on website. However, most of them are snippets, which takes a lot of work to make them actually executable e.g. providing sufficient input. I will open another issue if necessary.