1
Fork 0

switch Drop to &mut self

This commit is contained in:
Daniel Micay 2013-09-16 21:18:07 -04:00
parent bc89ade401
commit 4e161a4d40
129 changed files with 192 additions and 203 deletions

View file

@ -12,7 +12,7 @@ type Foo = @[u8];
impl Drop for Foo { //~ ERROR the Drop trait may only be implemented
//~^ ERROR cannot provide an extension implementation
fn drop(&self) {
fn drop(&mut self) {
println("kaboom");
}
}