From 694ec77f32c1280b5ccc0fa0075558371ec79a1b Mon Sep 17 00:00:00 2001 From: km274 Date: Mon, 3 Mar 2025 17:04:49 -0600 Subject: [PATCH] Remove "we'll fix it later in this chapter" for clarity "we'll fix it later in this chapter" somewhat implies that a correct code example will be provided later; "later in this chapter" also implies "quite a bit later", when the fix is actually discussed very shortly after the non-compiling code is presented --- src/ch10-01-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch10-01-syntax.md b/src/ch10-01-syntax.md index 663844423..fd87cbb25 100644 --- a/src/ch10-01-syntax.md +++ b/src/ch10-01-syntax.md @@ -55,7 +55,7 @@ same type `T`. Listing 10-5 shows the combined `largest` function definition using the generic data type in its signature. The listing also shows how we can call the function with either a slice of `i32` values or `char` values. Note that this code won’t -compile yet, but we’ll fix it later in this chapter. +compile yet.