mirror of
https://github.com/rust-lang/book.git
synced 2026-05-19 05:50:33 -04:00
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
This commit is contained in:
@@ -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.
|
||||
|
||||
<Listing number="10-5" file-name="src/main.rs" caption="The `largest` function using generic type parameters; this doesn’t compile yet">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user