diff --git a/exercises/02_functions/README.md b/exercises/02_functions/README.md index 6662d0da..b5057d7c 100644 --- a/exercises/02_functions/README.md +++ b/exercises/02_functions/README.md @@ -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) diff --git a/exercises/02_functions/functions1.rs b/exercises/02_functions/functions1.rs index 40ed9a07..ff454eb5 100644 --- a/exercises/02_functions/functions1.rs +++ b/exercises/02_functions/functions1.rs @@ -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 diff --git a/exercises/02_functions/functions2.rs b/exercises/02_functions/functions2.rs index 5154f34d..4d016227 100644 --- a/exercises/02_functions/functions2.rs +++ b/exercises/02_functions/functions2.rs @@ -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