From ce300110e95919889831206cb0d1181d9dfc959f Mon Sep 17 00:00:00 2001 From: Vilyus Date: Wed, 20 Jun 2018 18:04:02 +0300 Subject: [PATCH] typo --- 2018-edition/src/ch12-05-working-with-environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2018-edition/src/ch12-05-working-with-environment-variables.md b/2018-edition/src/ch12-05-working-with-environment-variables.md index 45f7e552e..7c3d00480 100644 --- a/2018-edition/src/ch12-05-working-with-environment-variables.md +++ b/2018-edition/src/ch12-05-working-with-environment-variables.md @@ -103,7 +103,7 @@ function to lowercase the query and the line before comparing them First, we lowercase the `query` string and store it in a shadowed variable with the same name. Calling `to_lowercase` on the query is necessary so no matter -whether the user’s query is `"rust"`, `"RUST"`, `"Rust:"`, or `"rUsT"`, we’ll +whether the user’s query is `"rust"`, `"RUST"`, `"Rust"`, or `"rUsT"`, we’ll treat the query as if it were `"rust"` and be insensitive to the case. Note that `query` is now a `String` rather than a string slice, because calling