From 27ba299279c355e61be90bcffe3356618146598d Mon Sep 17 00:00:00 2001 From: TimLai666 <43640816+TimLai666@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:28:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AD=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exercises/02_functions/README.md | 9 ++++----- exercises/02_functions/functions1.rs | 3 +-- exercises/02_functions/functions2.rs | 3 +-- 3 files changed, 6 insertions(+), 9 deletions(-) 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