Some notes and code about CWorld learning Rust.
Environment requirements:
- Rust: 1.78+
Clone the repository:
git clone https://github.com/cworld1/rust-learning.git
cd ./rust-learningRun the code:
cd <code_folder>
cargo runFor 1.2 part, please use
rustc main.rs && maininstead to run the code.
To spend more time coding and less time fiddling with whitespace, this project uses code conventions and styles to encourage consistency. Code with a consistent style is easier (and less error-prone!) to review, maintain, and understand.
This project is licensed under the GPL 3.0 License.