ArisQ / learn-rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learn-rust

The book

中文版

  • cargo
cargo new <project>
cargo build
cargo run
cargo check
cargo build
cargo build --release
  • let 声明变量, 变量默认不可变

  • let mut

  • // 行注释

  • :: 调用关联函数/静态方法

  • use std::io io::stdin() std::io::stdin()

  • 预导入 preclude

  • shadowing

About


Languages

Language:Rust 100.0%