mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
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.
This commit is contained in:
commit
af307a38c2
@ -164,7 +164,7 @@ fn check_name(name: &str, opts: &NewOptions) -> CargoResult<()> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Ban keywords + test list found at
|
// Ban keywords + test list found at
|
||||||
// https://doc.rust-lang.org/grammar.html#keywords
|
// https://doc.rust-lang.org/reference/keywords.html
|
||||||
let blacklist = [
|
let blacklist = [
|
||||||
"abstract", "alignof", "as", "become", "box", "break", "const", "continue", "crate", "do",
|
"abstract", "alignof", "as", "become", "box", "break", "const", "continue", "crate", "do",
|
||||||
"else", "enum", "extern", "false", "final", "fn", "for", "if", "impl", "in", "let", "loop",
|
"else", "enum", "extern", "false", "final", "fn", "for", "if", "impl", "in", "let", "loop",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user