You've already forked book-exercises
modules
This commit is contained in:
6
restaurant/Cargo.toml
Normal file
6
restaurant/Cargo.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "restaurant"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
11
restaurant/src/lib.rs
Normal file
11
restaurant/src/lib.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
mod front_of_house {
|
||||
mod hosting {
|
||||
fn add_to_waitlist() {}
|
||||
fn seat_at_table() {}
|
||||
}
|
||||
mod serving {
|
||||
fn take_order() {}
|
||||
fn serve_order() {}
|
||||
fn take_payment() {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user