From 2b847dc5ea1c4ae1baae00c3ebcc7aff7c90b2ef Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Mon, 28 Mar 2022 20:48:00 -0400 Subject: [PATCH] Reword description of how a listing came to be Fixes #3085. --- ...07-03-paths-for-referring-to-an-item-in-the-module-tree.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md b/src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md index c99a0ac4a6..53ee2ae2e0 100644 --- a/src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md +++ b/src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md @@ -17,8 +17,8 @@ separated by double colons (`::`). Let’s return to the example in Listing 7-1. How do we call the `add_to_waitlist` function? This is the same as asking, what’s the path of the -`add_to_waitlist` function? In Listing 7-3, we simplified our code a bit by -removing some of the modules and functions. We’ll show two ways to call the +`add_to_waitlist` function? Listing 7-3 contains Listing 7-1 with some of the +modules and functions removed. We’ll show two ways to call the `add_to_waitlist` function from a new function `eat_at_restaurant` defined in the crate root. The `eat_at_restaurant` function is part of our library crate’s public API, so we mark it with the `pub` keyword. In the [“Exposing Paths with