From ee135869ef907a2f09f7a291cd261d7f53002821 Mon Sep 17 00:00:00 2001 From: Rupesh-Darimisetti <49586865+Rupesh-Darimisetti@users.noreply.github.com> Date: Fri, 5 Aug 2022 10:56:59 +0530 Subject: [PATCH] add editable to make changes in code Exercise 2 and Separating modules into different files --- en/src/crate-module/module.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/src/crate-module/module.md b/en/src/crate-module/module.md index f579b03..2a9c578 100644 --- a/en/src/crate-module/module.md +++ b/en/src/crate-module/module.md @@ -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 :) \ No newline at end of file +> 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 :)