librustc: Make the Drop trait use explicit self
This commit is contained in:
@@ -28,7 +28,7 @@ pub struct Future<A> {
|
||||
// FIXME(#2829) -- futures should not be copyable, because they close
|
||||
// over fn~'s that have pipes and so forth within!
|
||||
impl<A> Future<A> : Drop {
|
||||
fn finalize() {}
|
||||
fn finalize(&self) {}
|
||||
}
|
||||
|
||||
priv enum FutureState<A> {
|
||||
|
||||
Reference in New Issue
Block a user