Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch07-managing-growing-projects
/
listing-07-05
/
src
/
lib.rs
blob: 05372dbe5eb353cbf842eeb6a71fe7a247f9099c [
file
] [
log
] [
blame
]
mod
front_of_house
{
pub
mod
hosting
{
fn
add_to_waitlist
()
{}
}
}
pub
fn
eat_at_restaurant
()
{
// Absolute path
crate
::
front_of_house
::
hosting
::
add_to_waitlist
();
// Relative path
front_of_house
::
hosting
::
add_to_waitlist
();
}