]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/rt/thread.rs
Change finalize -> drop.
[rust.git] / src / libstd / rt / thread.rs
index bc29019131078535259778ee244406967e236f7f..98d08c060e02ced450bf0dc1acfc8402f01c2873 100644 (file)
@@ -33,7 +33,7 @@ fn substart(main: &~fn()) -> *raw_thread {
 }
 
 impl Drop for Thread {
-    fn finalize(&self) {
+    fn drop(&self) {
         unsafe { rust_raw_thread_join_delete(self.raw_thread) }
     }
 }