Skip to content

Commit af307a3

Browse files
committed
Auto merge of #7936 - giraffate:fix_link, r=alexcrichton
Fix link in comment https://doc.rust-lang.org/grammar.html#keywords seems to move to https://doc.rust-lang.org/reference/keywords.html.
2 parents 70af904 + ec4b812 commit af307a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_new.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ fn check_name(name: &str, opts: &NewOptions) -> CargoResult<()> {
164164
};
165165

166166
// Ban keywords + test list found at
167-
// https://doc.rust-lang.org/grammar.html#keywords
167+
// https://doc.rust-lang.org/reference/keywords.html
168168
let blacklist = [
169169
"abstract", "alignof", "as", "become", "box", "break", "const", "continue", "crate", "do",
170170
"else", "enum", "extern", "false", "final", "fn", "for", "if", "impl", "in", "let", "loop",

0 commit comments

Comments
 (0)