diff --git a/doc/tutorial.md b/doc/tutorial.md index 0674dee4c33..04397642415 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -1913,7 +1913,7 @@ struct TimeBomb { } impl TimeBomb : Drop { - fn finalize() { + fn finalize(&self) { for iter::repeat(self.explosivity) { io::println("blam!"); }