File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ pl_go_setsrc (char *option)
429429void
430430pl_rust_getsrc (char * option )
431431{
432- chsrc_view_file ("~/.cargo" );
432+ chsrc_view_file ("~/.cargo/config.toml " );
433433}
434434
435435/**
@@ -438,7 +438,7 @@ pl_rust_getsrc (char *option)
438438void
439439pl_rust_setsrc (char * option )
440440{
441- SourceInfo source ;
441+ SourceInfo source ;
442442 chsrc_yield_source (pl_rust );
443443 chsrc_confirm_source (& source );
444444
@@ -449,7 +449,7 @@ pl_rust_setsrc (char *option)
449449 "[source.mirror]\n"
450450 "registry = \"sparse+" , source .url , "\"" );
451451
452- chsrc_warn (xy_strjoin (3 , "请您手动写入以下内容到 " , xy_uniform_path ("~/.cargo/config.toml" ), " 文件中:" ));
452+ chsrc_warn (xy_strjoin (3 , "请您手动写入以下内容到 " , xy_uniform_path ("~/.cargo/config.toml" ), " 文件中:" ));
453453 puts (file );
454454 chsrc_say_lastly (& source , ChsrcTypeManual );
455455}
You can’t perform that action at this time.
0 commit comments