From ec4b81288e3fc09d727f1bb1d95dc416efbb85cb Mon Sep 17 00:00:00 2001 From: Takayuki Nakata Date: Wed, 26 Feb 2020 11:16:55 +0900 Subject: [PATCH] Fix link in comment This link seems to move to https://doc.rust-lang.org/reference/keywords.html. --- src/cargo/ops/cargo_new.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/cargo_new.rs b/src/cargo/ops/cargo_new.rs index 7b8d9660e1c..951c5e9ba1e 100644 --- a/src/cargo/ops/cargo_new.rs +++ b/src/cargo/ops/cargo_new.rs @@ -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",