Skip to content

Commit 6411c2e

Browse files
committed
---
yaml --- r: 130233 b: refs/heads/master c: 395e453 h: refs/heads/master i: 130231: aa8de38 v: v3
1 parent 50cd72c commit 6411c2e

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d8a26184dc103025e7ad457ffd8deb391019dbfe
2+
refs/heads/master: 395e453c06cce045d2e0613a1c6edab2dcfdeceb
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 67b97ab6d2b7de9b69fd97dc171fcf8feec932ff
55
refs/heads/try: 28d5878c1f0465c11c8e7a3085008b0c592d48d0

trunk/src/librustc/middle/trans/glue.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,14 @@ pub fn get_drop_glue_type(ccx: &CrateContext, t: ty::t) -> ty::t {
111111
return ty::mk_i8();
112112
}
113113
match ty::get(t).sty {
114-
ty::ty_box(typ) if !ty::type_needs_drop(tcx, typ) =>
115-
ty::mk_box(tcx, ty::mk_i8()),
116-
117114
ty::ty_uniq(typ) if !ty::type_needs_drop(tcx, typ)
118115
&& ty::type_is_sized(tcx, typ) => {
119116
let llty = sizing_type_of(ccx, typ);
120117
// `Box<ZeroSizeType>` does not allocate.
121118
if llsize_of_alloc(ccx, llty) == 0 {
122119
ty::mk_i8()
123120
} else {
124-
ty::mk_uniq(tcx, ty::mk_i8())
121+
t
125122
}
126123
}
127124
_ => t

trunk/src/librustdoc/html/static/main.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ nav.sub {
177177
color: #333;
178178
}
179179

180-
.location a:first-child { font-weight: bold; }
181-
182180
.block {
183181
padding: 0 10px;
184182
margin-bottom: 14px;

0 commit comments

Comments
 (0)