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/libsyntax/parse/parser.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/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 35c09ff1b56..b10005aeaf1 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -266,7 +266,7 @@ pub struct Parser { #[unsafe_destructor] impl Drop for Parser { /* do not copy the parser; its state is tied to outside state */ - fn finalize(&self) {} + fn drop(&self) {} } impl Parser { |
