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:
bors 2020-02-26 05:22:50 +00:00
commit af307a38c2

View File

@ -164,7 +164,7 @@ fn check_name(name: &str, opts: &NewOptions) -> CargoResult<()> {
};
// Ban keywords + test list found at
// https://doc.rust-lang.org/grammar.html#keywords
// https://doc.rust-lang.org/reference/keywords.html
let blacklist = [
"abstract", "alignof", "as", "become", "box", "break", "const", "continue", "crate", "do",
"else", "enum", "extern", "false", "final", "fn", "for", "if", "impl", "in", "let", "loop",