From bfcec0720f76efd05040cf704192d78b8d49265b Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Sat, 6 May 2017 14:27:50 +0100 Subject: [PATCH] ch10: rephrasing of sentence in first paragraph Original phrasing is ambiguous in a way it could be initially interpreted as we don't need to know when we are writing and compiling the code. --- second-edition/src/ch10-00-generics.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/second-edition/src/ch10-00-generics.md b/second-edition/src/ch10-00-generics.md index 0c91bb449..9e91c93d1 100644 --- a/second-edition/src/ch10-00-generics.md +++ b/second-edition/src/ch10-00-generics.md @@ -2,10 +2,10 @@ Every programming language has tools to deal effectively with duplication of concepts; in Rust, one of those tools is *generics*. Generics are abstract -stand-ins for concrete types or other properties. We can express properties of -generics, such as their behavior or how they relate to other generics, without -needing to know when we're writing and compiling the code what will actually be -in their place. +stand-ins for concrete types or other properties. When we're writing and +compiling the code we can express properties of generics, such as their +behavior or how they relate to other generics, without needing to know what +will actually be in their place. In the same way that a function takes parameters whose value we don't know in order to write code once that will be run on multiple concrete values, we can