From d1c558394f52cc5295d8c7ce1fafc08927ab8106 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 29 Nov 2012 16:23:24 -0800 Subject: [PATCH] Fix tutorial's use of Drop --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!"); }