bash
cargo install cargo-script
borrowing_exerci
codesbash
git clone https://github.com/cnruby/learn-rust-by-crates.git
cd learn-rust-by-crates/hello-borrowing/bin-hello/
borrowing_exerci
kw_fn.rs
with borrowing error in the folder examples
```bash
cargo run --bin bw -- --file kw_fn --mode err | bat -l rs
f
, Forward one windowb
, Backward one windowq
, Exit.
- run a rust file ex `kw_fn.rs` without error in the folder `examples`
bash
cargo run --bin bw -- -f kw_fn -m ok | bat -l rs
```