Fix: cargo config file name

Pointing out the correct config file name when setting `cargo` [GitHub #45]
This commit is contained in:
BlockLune 2024-07-22 12:39:51 +08:00 committed by GitHub
parent cde16146d0
commit cade465069
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,9 +7,10 @@
* Contributors : Aaron Ruan <aaron212cn@outlook.com>
* | Rui Chen <rui@chenrui.dev>
* | Shengwei Chen <414685209@qq.com>
* | BlockLune <blocklune@gmail.com>
* |
* Created on : <2023-08-28>
* Last modified : <2024-07-09>
* Last modified : <2024-07-22>
*
* chsrc: Change Source
* ------------------------------------------------------------*/
@ -448,7 +449,7 @@ pl_rust_setsrc (char *option)
"[source.mirror]\n"
"registry = \"sparse+", source.url, "\"");
chsrc_warn (xy_strjoin (3, "请您手动写入以下内容到 ", xy_uniform_path("~/.cargo"), " 文件中:"));
chsrc_warn (xy_strjoin (3, "请您手动写入以下内容到 ", xy_uniform_path("~/.cargo/config.toml"), " 文件中:"));
puts (file);
chsrc_say_lastly (&source, ChsrcTypeManual);
}