@@ -24,15 +24,15 @@ pub enum Profile {
24
24
None ,
25
25
}
26
26
27
- /// A list of historical hashes of `src/etc/vscode_settings .json`.
27
+ /// A list of historical hashes of `src/etc/rust_analyzer_settings .json`.
28
28
/// New entries should be appended whenever this is updated so we can detect
29
29
/// outdated vs. user-modified settings files.
30
30
static SETTINGS_HASHES : & [ & str ] = & [
31
31
"ea67e259dedf60d4429b6c349a564ffcd1563cf41c920a856d1f5b16b4701ac8" ,
32
32
"56e7bf011c71c5d81e0bf42e84938111847a810eee69d906bba494ea90b51922" ,
33
33
"af1b5efe196aed007577899db9dae15d6dbc923d6fa42fa0934e68617ba9bbe0" ,
34
34
] ;
35
- static VSCODE_SETTINGS : & str = include_str ! ( "../etc/vscode_settings .json" ) ;
35
+ static RUST_ANALYZER_SETTINGS : & str = include_str ! ( "../etc/rust_analyzer_settings .json" ) ;
36
36
37
37
impl Profile {
38
38
fn include_path ( & self , src_path : & Path ) -> PathBuf {
@@ -489,7 +489,7 @@ undesirable, simply delete the `pre-push` file from .git/hooks."
489
489
Ok ( ( ) )
490
490
}
491
491
492
- /// Sets up or displays `src/etc/vscode_settings .json`
492
+ /// Sets up or displays `src/etc/rust_analyzer_settings .json`
493
493
#[ derive( Clone , Copy , Debug , Eq , PartialEq , Hash ) ]
494
494
pub struct Vscode ;
495
495
@@ -580,10 +580,10 @@ fn create_vscode_settings_maybe(config: &Config) -> io::Result<()> {
580
580
}
581
581
_ => "Created" ,
582
582
} ;
583
- fs:: write ( & vscode_settings, & VSCODE_SETTINGS ) ?;
583
+ fs:: write ( & vscode_settings, & RUST_ANALYZER_SETTINGS ) ?;
584
584
println ! ( "{verb} `.vscode/settings.json`" ) ;
585
585
} else {
586
- println ! ( "\n {VSCODE_SETTINGS }" ) ;
586
+ println ! ( "\n {RUST_ANALYZER_SETTINGS }" ) ;
587
587
}
588
588
Ok ( ( ) )
589
589
}
0 commit comments