-
.
-
When I click on https://doc.rust-lang.org/book/ → Printer icon 🖶 in the right upper corner, this page loads https://doc.rust-lang.org/book/print.html. I print the output. All the hyperlinks are now …
-
https://veykril.github.io/tlborm/
For the latest Rust episode.
-
Make zap available to download anywhere with crates
https://rust-cli.github.io/book/tutorial/packaging.html
-
https://rustwiki.org/en/book/
-
Official docs:
https://book.cairo-lang.org/ch08-01-generic-data-types.html
The idea is to have a short and to-the-point article about the concept without going too deep. Avoid just copy/pasting e…
-
### Reason/inspiration (optional)
Many of Rust's advantages regarding security, speed, and avoidance of general errors in code are related to how it's compiler checks variable ownership. In specifi…
-
The following commit added significant complexity to the exercise: https://github.com/rust-lang/rustlings/commit/8e1f617d3402cb05b05c6737f60fbbfe74da4d78
I understand the desire to show people func…
-
Link https://github.com/jsoverson/node-to-rust
it will be really useful for who comes from Javascript/Node.js
Thank you
-
# Rust
## Install & Cargo
## Common
### 常量与变量
变量:
- 使用 `let` 关键字声明,一般使用 `snake_case` 方式
- 默认不可变,如果要使其可变,必须声明 `mut` 关键字
- 变量只能在函数中使用
- 具有**遮蔽效应**(本质是使用 `let` 关键字重新声明了一个同名的新变量)
常量:
…