mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-22 23:10:20 +08:00
去除示例代码中的重复行 (#142)
This commit is contained in:
parent
05feb2014d
commit
6eb93da6e5
@ -155,8 +155,6 @@ pub use crate::front_of_house::hosting;
|
||||
|
||||
pub fn eat_at_restaurant() {
|
||||
hosting::add_to_waitlist();
|
||||
hosting::add_to_waitlist();
|
||||
hosting::add_to_waitlist();
|
||||
}
|
||||
# fn main() {}
|
||||
```
|
||||
|
@ -13,8 +13,6 @@ pub use crate::front_of_house::hosting;
|
||||
|
||||
pub fn eat_at_restaurant() {
|
||||
hosting::add_to_waitlist();
|
||||
hosting::add_to_waitlist();
|
||||
hosting::add_to_waitlist();
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user