mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 14:59:18 +00:00
翻譯
This commit is contained in:
parent
27ba299279
commit
a4d9df1ad0
@ -1,7 +1,6 @@
|
||||
// functions3.rs
|
||||
//
|
||||
// Execute `rustlings hint functions3` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
// 執行 `rustlings hint functions3` 或使用 `hint` watch 子命令來獲取提示。
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
@ -1,12 +1,10 @@
|
||||
// functions4.rs
|
||||
//
|
||||
// This store is having a sale where if the price is an even number, you get 10
|
||||
// Rustbucks off, but if it's an odd number, it's 3 Rustbucks off. (Don't worry
|
||||
// about the function bodies themselves, we're only interested in the signatures
|
||||
// for now. If anything, this is a good way to peek ahead to future exercises!)
|
||||
// 這家商店正在舉行促銷活動,如果價格是偶數,您可以獲得 10 元折扣,
|
||||
// 但如果是奇數,則只折抵 3 元。(不用擔心函數本身的內容,
|
||||
// 我們目前只關心函數的簽名。如果有需要,這是一個提前了解未來練習的好方法!)
|
||||
//
|
||||
// Execute `rustlings hint functions4` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
// 執行 `rustlings hint functions4` 或使用 `hint` watch 子命令來獲取提示。
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
// functions5.rs
|
||||
//
|
||||
// Execute `rustlings hint functions5` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
// 執行 `rustlings hint functions5` 或使用 `hint` watch 子命令來獲取提示。
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user