add zh/as.md

This commit is contained in:
sunface
2022-03-09 17:08:15 +08:00
parent ceceab5974
commit 5ea947ac9f
2 changed files with 24 additions and 25 deletions

View File

@ -1,4 +1,4 @@
# Type Conversions
# Convert by `as`
Rust provides no implicit type conversion(coercion) between primitive types. But explicit type conversions can be performed using the `as` keyword.
1. 🌟
@ -89,7 +89,7 @@ fn main() {
```
5. 🌟🌟🌟
5. 🌟🌟🌟
```rust,editable
fn main() {
let arr :[u64; 13] = [0; 13];