#crates #progress #borrowing #learn

bin+lib borrowing_exerci

how to understand the borrowing in rust

11 releases

✓ Uses Rust 2018 edition

new 0.3.53 Nov 8, 2019
0.3.52 Nov 5, 2019
0.3.50 Oct 29, 2019
0.2.52 Oct 28, 2019
0.1.0 Oct 22, 2019

#80 in Testing

Download history 12/week @ 2019-10-17 274/week @ 2019-10-24 80/week @ 2019-10-31

122 downloads per month


776 lines

Minimum rustc version GitHub release The Crate mod_trait_exerci Code Build Status on appveyor.com GitHub issues Twitter URL

The Rust Feature Borrowing and Ownenship

Getting Started

cargo install cargo-script


  • name: hello-borrowing
  • crate name: borrowing_exerci
  • description: how to understand the rust borrowing

Subproject: bin-hello

  • folder name: bin-hello
  • description: the crate 'borrowing_exerci'

install the crate borrowing_exerci

cargo install borrowing_exerci

Use the crate borrowing_exerci help

bw -h

Use the crate borrowing_exerci

  • run a rust file like kw_fn.rs (See Help Command) with error codes
bw -f kw_fn -m err | bat -l rs
# tip: `f`, Forward  one window
# tip: `b`, Backward  one window
# tip: `q`, Exit.
  • run a rust file ex kw_fn.rs without error codes
bw -f kw_fn -m ok | bat -l rs



~523K SLoC