mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-02 08:49:19 +00:00
翻譯
This commit is contained in:
parent
9606e57a5a
commit
27ba299279
@ -1,8 +1,7 @@
|
|||||||
# Functions
|
# 函數
|
||||||
|
|
||||||
Here, you'll learn how to write functions and how the Rust compiler can help you debug errors even
|
在這裡,您將學習如何編寫函數以及 Rust 編譯器如何幫助您調試(debug)錯誤,即使是更複雜的代碼中的。
|
||||||
in more complex code.
|
|
||||||
|
|
||||||
## Further information
|
## 更多資訊
|
||||||
|
|
||||||
- [How Functions Work](https://doc.rust-lang.org/book/ch03-03-how-functions-work.html)
|
- [函數如何運作](https://doc.rust-lang.org/book/ch03-03-how-functions-work.html)
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
// functions1.rs
|
// functions1.rs
|
||||||
//
|
//
|
||||||
// Execute `rustlings hint functions1` or use the `hint` watch subcommand for a
|
// 執行 `rustlings hint functions1` 或使用 `hint` watch 子命令來獲取提示。
|
||||||
// hint.
|
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
// functions2.rs
|
// functions2.rs
|
||||||
//
|
//
|
||||||
// Execute `rustlings hint functions2` or use the `hint` watch subcommand for a
|
// 執行 `rustlings hint functions2` 或使用 `hint` watch 子命令來獲取提示。
|
||||||
// hint.
|
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user