Skip to content

Commit ec4b812

Browse files
committed
Fix link in comment
This link seems to move to https://doc.rust-lang.org/reference/keywords.html.
1 parent 70af904 commit ec4b812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_new.rs

Lines changed: 1 addition & 1 deletion
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)