Skip to content

Commit 5708f44

Browse files
committed
shorten URLs to placate make tidy.
1 parent 83077be commit 5708f44

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/test/compile-fail/feature-gate-dropck-ugeh.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
// Example adapted from RFC 1238 text (just left out the feature gate).
1414

15-
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#example-of-the-unguarded-escape-hatch
15+
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md
16+
// #example-of-the-unguarded-escape-hatch
1617

1718
// #![feature(dropck_parametricity)]
1819

src/test/run-pass/issue28498-must-work-ex1.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
// Example taken from RFC 1238 text
1212

13-
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#examples-of-code-that-must-continue-to-work
13+
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md
14+
// #examples-of-code-that-must-continue-to-work
1415

1516
use std::cell::Cell;
1617

src/test/run-pass/issue28498-must-work-ex2.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
// Example taken from RFC 1238 text
1212

13-
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#examples-of-code-that-must-continue-to-work
13+
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md
14+
// #examples-of-code-that-must-continue-to-work
1415

1516
use std::cell::Cell;
1617

src/test/run-pass/issue28498-ugeh-ex1.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
// Example taken from RFC 1238 text
1212

13-
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#example-of-the-unguarded-escape-hatch
13+
// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md
14+
// #example-of-the-unguarded-escape-hatch
1415

1516
#![feature(dropck_parametricity)]
1617
use std::cell::Cell;

0 commit comments

Comments
 (0)