File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ pub fn init() -> Result<()> {
130
130
fs:: write ( "Cargo.toml" , updated_cargo_toml)
131
131
. context ( "Failed to create the file `rustlings/Cargo.toml`" ) ?;
132
132
133
- fs:: write ( "rust-analyzer.toml" , RATOML )
133
+ fs:: write ( "rust-analyzer.toml" , RUST_ANALYZER_TOML )
134
134
. context ( "Failed to create the file `rustlings/rust-analyzer.toml`" ) ?;
135
135
136
136
fs:: write ( ".gitignore" , GITIGNORE )
@@ -172,10 +172,9 @@ const INIT_SOLUTION_FILE: &[u8] = b"fn main() {
172
172
}
173
173
" ;
174
174
175
- const RATOML : & [ u8 ] = br#"# rust-analyzer configuration file
176
- # DO NOT edit what is already defined.
177
- # You may add new configurations as needed.
178
- check.extraArgs = ["--profile", "test"]"# ;
175
+ pub const RUST_ANALYZER_TOML : & [ u8 ] = br#"check.command = "clippy"
176
+ check.extraArgs = ["--profile", "test"]
177
+ "# ;
179
178
180
179
const GITIGNORE : & [ u8 ] = b"Cargo.lock
181
180
target/
You can’t perform that action at this time.
0 commit comments