mikemadden42 / learn-rust-in-a-month-of-lunches

Examples for Learn Rust in a Month of Lunches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learn-rust-in-a-month-of-lunches

Examples for Learn Rust in a Month of Lunches

# Build all examples.
cargo build --examples
cargo build --examples -v

# Build a single example.
cargo build --example ch-01-hello

# Run a single example.
cargo run --example ch-01-hello
# Check for formatting issues.
cargo fmt --all -- --check

# Check for common errors.
cargo clippy -- -Wclippy::pedantic -Wrustdoc::private_intra_doc_links -Wrustdoc::broken-intra-doc-links -Aclippy::single-match-else -Aclippy::default-trait-access -Aclippy::missing-panics-doc -Wclippy::missing-errors-doc

About

Examples for Learn Rust in a Month of Lunches

License:MIT License