variables/lib.rs
1//! # Variable Crate
2//!
3//! `variable` crate is just the crate for testing my rust skills
4//! this crate contains every example from the rust book
5//!
6
7
8pub mod car;
9
10
11mod front_of_house {
12 mod hosting {
13 fn add_to_waitlist() {}
14
15 fn seat_at_table() {}
16 }
17
18 mod serving {
19 fn take_order() {}
20
21 fn serve_order() {}
22
23 fn take_payment() {}
24 }
25}
26
27pub fn print_and_return_value(a: i32) -> i32{
28 println!("hello got value: {}", a);
29 a
30}
31
32
33
34pub mod aggregator;
35
36pub mod testing;
37
38pub mod utils;