From 5eaf0e6d311bf157b490841851d1ac535538b9dc Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Mon, 8 Jul 2013 12:45:59 -0600 Subject: [PATCH] Update to latest Rust. --- wapcaplet.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wapcaplet.rc b/wapcaplet.rc index 7d8af6a..c2f6cd6 100644 --- a/wapcaplet.rc +++ b/wapcaplet.rc @@ -34,7 +34,7 @@ pub struct LwcString { } impl Drop for LwcString { - fn finalize(&self) { + fn drop(&self) { unsafe { rust_lwc_string_unref(self.string); }