diff --git a/2018-edition/src/ch20-02-multithreaded.md b/2018-edition/src/ch20-02-multithreaded.md index ff6986926..25eb9a540 100644 --- a/2018-edition/src/ch20-02-multithreaded.md +++ b/2018-edition/src/ch20-02-multithreaded.md @@ -1020,11 +1020,11 @@ shown in Listing 20-21. ```rust,ignore trait FnBox { - fn call_box(self: Box); + fn call_box(self: Box); } impl FnBox for F { - fn call_box(self: Box) { + fn call_box(self: Box) { (*self)() } }