You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The book simply forgot to mention that after (12-16 code snip) defining just enough of the search function so our test will compile we should also bring search into the scope by going into main.rs and adding use minigrep::{Config, search}; then the code compiles
Suggested fix:
// Main.rs use minigrep::{Config, search};
The text was updated successfully, but these errors were encountered:
main
branch to see if this has already been fixed, in this file:URL to the section(s) of the book with this problem:
Description of the problem:
defining just enough of the search function so our test will compile
we should also bring search into the scope by going into main.rs and addinguse minigrep::{Config, search};
then the code compilesSuggested fix:
// Main.rs
use minigrep::{Config, search};
The text was updated successfully, but these errors were encountered: