From: Ralf Jung Date: Thu, 3 Sep 2015 21:50:28 +0000 (+0200) Subject: wording X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/663d6d7061ead4b53beec69f3ad67ce488f5a924?hp=86202b038253b678e6e11a4c4758fe1c24592ae1 wording --- diff --git a/src/part14.rs b/src/part14.rs index 3519d43..45044af 100644 --- a/src/part14.rs +++ b/src/part14.rs @@ -132,7 +132,7 @@ Options: //@ stores the address of the character data, and their length. String literals like "this one" are //@ of type `&'static str`: They point right to the constant section of the binary, so //@ the borrow is valid for the entire program. The bytes pointed to by `pattern`, on the other hand, are owned by someone else, - //@ so we call `to_string` on it to copy the string data into a buffer on the heap owned by a String we own. + //@ and we call `to_string` on it to copy the string data into a buffer on the heap that we own. let mode = if count { OutputMode::Count } else if sort {