Skip to content

Commit

Permalink
Merge pull request #174 from Lomomo/zh_tw
Browse files Browse the repository at this point in the history
Remove redundant words in CH3-03
  • Loading branch information
weihanglo authored Jul 11, 2023
2 parents 4f266b7 + efebd2c commit 5bc3428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch03-03-how-functions-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Rust 程式碼使用 *snake case* 式作為函式與變數名稱的慣例風格

<span class="caption">範例 3-1:包含一道陳述式的 `main` 函式宣告</span>

此函式定義也是陳述式,整個範例就是本身就是一個陳述式
此函式定義也是陳述式,整個範例本身就是一個陳述式

陳述式不會回傳數值,因此你無法將 `let` 陳述式賦值給其他變數。如同以下程式碼所做的,你將會得到一個錯誤:

Expand Down

0 comments on commit 5bc3428

Please sign in to comment.