Skip to content

Commit 15b60ac

Browse files
committed
Comments only: fix some comments that got spurious /~s
1 parent 329eca6 commit 15b60ac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/rustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ fn trans_external_path(ccx: @crate_ctxt, did: ast::def_id, t: ty::t)
20552055
}
20562056

20572057
fn normalize_for_monomorphization(tcx: ty::ctxt, ty: ty::t) -> option<ty::t> {
2058-
// FIXME[mono]/~ could do this recursively. is that worthwhile? (#2529)
2058+
// FIXME[mono] could do this recursively. is that worthwhile? (#2529)
20592059
alt ty::get(ty).struct {
20602060
ty::ty_box(mt) { some(ty::mk_opaque_box(tcx)) }
20612061
ty::ty_fn(fty) { some(ty::mk_fn(tcx, {purity: ast::impure_fn,

src/rustc/middle/trans/closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn mk_closure_tys(tcx: ty::ctxt,
136136
}]/~;
137137
}
138138
let bound_data_ty = ty::mk_tup(tcx, bound_tys);
139-
// FIXME[mono]/~ remove tuple of tydescs from closure types (#2531)
139+
// FIXME[mono] remove tuple of tydescs from closure types (#2531)
140140
let cdata_ty = ty::mk_tup(tcx, [ty::mk_tup(tcx, []/~),
141141
bound_data_ty]/~);
142142
#debug["cdata_ty=%s", ty_to_str(tcx, cdata_ty)];

src/rustc/middle/trans/impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ fn trans_iface_callee(bcx: block, val: ValueRef,
151151
let vtable = Load(bcx, PointerCast(bcx, GEPi(bcx, val, [0u, 0u]/~),
152152
T_ptr(T_ptr(T_vtable()))));
153153
let box = Load(bcx, GEPi(bcx, val, [0u, 1u]/~));
154-
// FIXME[impl]/~ I doubt this is alignment-safe (#2534)
154+
// FIXME[impl] I doubt this is alignment-safe (#2534)
155155
let self = GEPi(bcx, box, [0u, abi::box_field_body]/~);
156156
let env = self_env(self, ty::mk_opaque_box(bcx.tcx()), some(box));
157157
let llfty = type_of::type_of_fn_from_ty(ccx, callee_ty);

0 commit comments

Comments
 (0)