Skip to content

Commit 2eae6bc

Browse files
committed
Make a link less prone to breaking
1 parent 76a1780 commit 2eae6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fn clif_sig_from_fn_sig<'tcx>(tcx: TyCtxt<'tcx>, sig: FnSig<'tcx>, is_vtable_fn:
168168
let mut layout = tcx.layout_of(ParamEnv::reveal_all().and(ty)).unwrap();
169169
if i == 0 && is_vtable_fn {
170170
// Virtual calls turn their self param into a thin pointer.
171-
// See https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc/ty/layout.rs.html#2519-2572 for more info
171+
// See https://github.com/rust-lang/rust/blob/37b6a5e5e82497caf5353d9d856e4eb5d14cbe06/src/librustc/ty/layout.rs#L2519-L2572 for more info
172172
layout = tcx.layout_of(ParamEnv::reveal_all().and(tcx.mk_mut_ptr(tcx.mk_unit()))).unwrap();
173173
}
174174
match get_pass_mode(tcx, layout) {

0 commit comments

Comments
 (0)