diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-01-14 16:20:09 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-01-14 22:01:44 -0500 |
| commit | 6809b172e0dee6f197e4ae30af0d8162e92d5225 (patch) | |
| tree | 1f21f0a0d612ed8baec2ea886eb3c2eda53f0ca8 /src/libstd | |
| parent | 0e885e42b1292fe2592488a52c35d54b9fe50fb8 (diff) | |
| download | rust-6809b172e0dee6f197e4ae30af0d8162e92d5225.tar.gz rust-6809b172e0dee6f197e4ae30af0d8162e92d5225.zip | |
remove `borrow_offset` as ~ is now free of headers
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/unstable/intrinsics.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index 269622d02c0..18a1790cd9b 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -98,13 +98,6 @@ pub struct TyDesc { // Called by reflection visitor to visit a value of type `T` visit_glue: GlueFn, - // If T represents a box pointer (`@U` or `~U`), then - // `borrow_offset` is the amount that the pointer must be adjusted - // to find the payload. This is always derivable from the type - // `U`, but in the case of `@Trait` or `~Trait` objects, the type - // `U` is unknown. - borrow_offset: uint, - // Name corresponding to the type name: &'static str } |
