diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-02-14 11:47:00 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-02-14 14:44:12 -0800 |
| commit | 9143688197ee1ba14e224badbe1402b36111e592 (patch) | |
| tree | 44b298c748b863da2c2c855733f1b2d58075fa9b /src/libstd/future.rs | |
| parent | 8ec6f43d6c58588576743f5adb28b78dbc3bb057 (diff) | |
| download | rust-9143688197ee1ba14e224badbe1402b36111e592.tar.gz rust-9143688197ee1ba14e224badbe1402b36111e592.zip | |
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflipping
Diffstat (limited to 'src/libstd/future.rs')
| -rw-r--r-- | src/libstd/future.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/future.rs b/src/libstd/future.rs index ec71c30242c..8659e3cbb10 100644 --- a/src/libstd/future.rs +++ b/src/libstd/future.rs @@ -36,7 +36,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 { +impl<A> Drop for Future<A> { fn finalize(&self) {} } |
