From ecaa5810448088b8ea9e58dbd428e14a7df0963f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 16 Jan 2025 16:08:39 +0100 Subject: [PATCH] Make `add_to_waitlist` function accessible --- restaurant/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restaurant/src/lib.rs b/restaurant/src/lib.rs index f102a02..59847e9 100644 --- a/restaurant/src/lib.rs +++ b/restaurant/src/lib.rs @@ -1,6 +1,6 @@ mod front_of_house { - mod hosting { - fn add_to_waitlist() {} + pub mod hosting { + pub fn add_to_waitlist() {} fn seat_at_table() {} }