From 622b08f3275766cc575a4a09986f14bfbe64ac64 Mon Sep 17 00:00:00 2001 From: Torsten Scheck Date: Fri, 30 Jun 2017 10:40:42 +0200 Subject: [PATCH] Clarified exercise 11.1. --- src/part11.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part11.rs b/src/part11.rs index 5134401..757f205 100644 --- a/src/part11.rs +++ b/src/part11.rs @@ -115,6 +115,6 @@ pub fn main() { // **Exercise 11.1**: We made the arbitrary choice of using `i32` for the arguments. Generalize the data structures above // to work with an arbitrary type `T` that's passed to the callbacks. Since you need to call multiple callbacks with the -// same `t: T`, you will either have to restrict `T` to `Copy` types, or pass a reference. +// same `val: T` (in our `call` function), you will either have to restrict `T` to `Copy` types, or pass a reference. //@ [index](main.html) | [previous](part10.html) | [raw source](workspace/src/part11.rs) | [next](part12.html) -- 2.30.2