about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2011-10-20 17:23:21 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-24 16:06:17 -0700
commit0598635bdcb8316d072351d49d9c8ac04aa82992 (patch)
tree79b7c538c839341a7c7daf33ee54c215321b9c06 /src/rt/rust_builtin.cpp
parent8eb336a70512c3781eeebe96ce94c3db639f2efc (diff)
downloadrust-0598635bdcb8316d072351d49d9c8ac04aa82992.tar.gz
rust-0598635bdcb8316d072351d49d9c8ac04aa82992.zip
migrate leak
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index bfd2b046ca6..83d697ba0ba 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -86,7 +86,7 @@ align_of(type_desc *t) {
 }
 
 extern "C" CDECL void
-leak(type_desc *t, void *thing) {
+leak(void *thing) {
     // Do nothing. Call this with move-mode in order to say "Don't worry rust,
     // I'll take care of this."
 }