]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/send-resource.rs
Change finalize -> drop.
[rust.git] / src / test / run-pass / send-resource.rs
index a2cee0082b5e7ce6d0ca3d0a62e05b85140c5b8d..e450e1f48c0180160bcf476f9b18e0bec66eda4c 100644 (file)
@@ -16,7 +16,7 @@ struct test {
 }
 
 impl Drop for test {
-    fn finalize(&self) {}
+    fn drop(&self) {}
 }
 
 fn test(f: int) -> test {