Merge pull request #289 from Rupesh-Darimisetti/patch-2

add editable to make changes in code
This commit is contained in:
Sunface 2022-08-08 10:08:32 +08:00 committed by GitHub
commit bb0a6e69f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ mod front_of_house {
2. 🌟🌟 Let's call `add_to_waitlist` from a function `eat_at_restaurant` which within the library crate root.
```rust
```rust,editable
// in lib.rs
// FILL in the blanks and FIX the errors
@ -76,7 +76,7 @@ mod back_of_house {
### Separating modules into different files
```rust
```rust,editable
// in lib.rs
pub mod front_of_house {
pub mod hosting {
@ -192,4 +192,4 @@ fn main() {
}
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice) (under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice) (under the solutions path), but only use it when you need it :)