about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorEric Reed <ereed@mozilla.com>2013-07-08 14:19:19 -0700
committerEric Reed <ereed@mozilla.com>2013-07-08 14:19:19 -0700
commit6b2abcaa0f4b8f0fdbd0f8dcac5089159f0051da (patch)
tree3703335dbf946e309535cef4a674ce1561a13e7d /src/libstd/rt
parentcf2329201098c6e3b417548651a1c3dbf19c0dc0 (diff)
downloadrust-6b2abcaa0f4b8f0fdbd0f8dcac5089159f0051da.tar.gz
rust-6b2abcaa0f4b8f0fdbd0f8dcac5089159f0051da.zip
renamed finalize to drop in Drop impl for UvUdpSocket
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/uv/uvio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/uv/uvio.rs b/src/libstd/rt/uv/uvio.rs
index 3f2706e7a99..5d0c64c6867 100644
--- a/src/libstd/rt/uv/uvio.rs
+++ b/src/libstd/rt/uv/uvio.rs
@@ -466,7 +466,7 @@ impl RtioTcpStream for UvTcpStream {
 pub struct UvUdpSocket(UdpWatcher);
 
 impl Drop for UvUdpSocket {
-    fn finalize(&self) {
+    fn drop(&self) {
         rtdebug!("closing udp socket");
         let scheduler = Local::take::<Scheduler>();
         do scheduler.deschedule_running_task_and_then |_, task| {