@@ -24,15 +24,15 @@ pub enum Profile {
2424 None ,
2525}
2626
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`.
2828/// New entries should be appended whenever this is updated so we can detect
2929/// outdated vs. user-modified settings files.
3030static SETTINGS_HASHES : & [ & str ] = & [
3131 "ea67e259dedf60d4429b6c349a564ffcd1563cf41c920a856d1f5b16b4701ac8" ,
3232 "56e7bf011c71c5d81e0bf42e84938111847a810eee69d906bba494ea90b51922" ,
3333 "af1b5efe196aed007577899db9dae15d6dbc923d6fa42fa0934e68617ba9bbe0" ,
3434] ;
35- static VSCODE_SETTINGS : & str = include_str ! ( "../etc/vscode_settings .json" ) ;
35+ static RUST_ANALYZER_SETTINGS : & str = include_str ! ( "../etc/rust_analyzer_settings .json" ) ;
3636
3737impl Profile {
3838 fn include_path ( & self , src_path : & Path ) -> PathBuf {
@@ -489,7 +489,7 @@ undesirable, simply delete the `pre-push` file from .git/hooks."
489489 Ok ( ( ) )
490490}
491491
492- /// Sets up or displays `src/etc/vscode_settings .json`
492+ /// Sets up or displays `src/etc/rust_analyzer_settings .json`
493493#[ derive( Clone , Copy , Debug , Eq , PartialEq , Hash ) ]
494494pub struct Vscode ;
495495
@@ -580,10 +580,10 @@ fn create_vscode_settings_maybe(config: &Config) -> io::Result<()> {
580580 }
581581 _ => "Created" ,
582582 } ;
583- fs:: write ( & vscode_settings, & VSCODE_SETTINGS ) ?;
583+ fs:: write ( & vscode_settings, & RUST_ANALYZER_SETTINGS ) ?;
584584 println ! ( "{verb} `.vscode/settings.json`" ) ;
585585 } else {
586- println ! ( "\n {VSCODE_SETTINGS }" ) ;
586+ println ! ( "\n {RUST_ANALYZER_SETTINGS }" ) ;
587587 }
588588 Ok ( ( ) )
589589}
0 commit comments