mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 23:09:18 +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
|
||||
in more complex code.
|
||||
在這裡,您將學習如何編寫函數以及 Rust 編譯器如何幫助您調試(debug)錯誤,即使是更複雜的代碼中的。
|
||||
|
||||
## 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
|
||||
//
|
||||
// Execute `rustlings hint functions1` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
// 執行 `rustlings hint functions1` 或使用 `hint` watch 子命令來獲取提示。
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
// functions2.rs
|
||||
//
|
||||
// Execute `rustlings hint functions2` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
// 執行 `rustlings hint functions2` 或使用 `hint` watch 子命令來獲取提示。
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user