diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-11-19 17:36:32 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-11-26 08:20:58 -0800 |
| commit | 9e610573ba285619c9a59d8c1468624b6428492c (patch) | |
| tree | ef04c2714fc27e8af37303cd287f342151ae7037 /src/libstd/cleanup.rs | |
| parent | 406813957b65a1627e9b26f73019868a7da1ae79 (diff) | |
| download | rust-9e610573ba285619c9a59d8c1468624b6428492c.tar.gz rust-9e610573ba285619c9a59d8c1468624b6428492c.zip | |
librustc: Remove remaining uses of `&fn()` in favor of `||`.
Diffstat (limited to 'src/libstd/cleanup.rs')
| -rw-r--r-- | src/libstd/cleanup.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/cleanup.rs b/src/libstd/cleanup.rs index a1f85097865..2f7b27b55e3 100644 --- a/src/libstd/cleanup.rs +++ b/src/libstd/cleanup.rs @@ -15,7 +15,7 @@ use ptr; use unstable::intrinsics::TyDesc; use unstable::raw; -type DropGlue<'self> = &'self fn(**TyDesc, *c_void); +type DropGlue<'self> = 'self |**TyDesc, *c_void|; /* * Box annihilation |
