diff options
| author | bors <bors@rust-lang.org> | 2013-06-25 20:29:06 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-25 20:29:06 -0700 |
| commit | 22408d9ad536975002b4d43f232033eca4482741 (patch) | |
| tree | e40c4ceeb90cd3933f264ff4fa73fd88d52e3c0d /src/libstd/rt/stack.rs | |
| parent | e9ac7194ff31792e2eca2c745fbef309a2daba86 (diff) | |
| parent | ca2966c6d04958241f13e61310298a5ff69061e2 (diff) | |
| download | rust-22408d9ad536975002b4d43f232033eca4482741.tar.gz rust-22408d9ad536975002b4d43f232033eca4482741.zip | |
auto merge of #7269 : luqmana/rust/drop, r=thestinger
Finally rename finalize to drop. Closes #4332.
Diffstat (limited to 'src/libstd/rt/stack.rs')
| -rw-r--r-- | src/libstd/rt/stack.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/stack.rs b/src/libstd/rt/stack.rs index b0e87a62c8b..fbb516b2df4 100644 --- a/src/libstd/rt/stack.rs +++ b/src/libstd/rt/stack.rs @@ -49,7 +49,7 @@ impl StackSegment { } impl Drop for StackSegment { - fn finalize(&self) { + fn drop(&self) { unsafe { // XXX: Using the FFI to call a C macro. Slow rust_valgrind_stack_deregister(self.valgrind_id); |
