File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ fn main() {
239
239
. get_sysroot_src ( )
240
240
. expect ( "Couldn't find toolchain path, do you have `rustc` installed?" ) ;
241
241
project
242
- . exercies_to_json ( )
242
+ . exercises_to_json ( )
243
243
. expect ( "Couldn't parse rustlings exercises files" ) ;
244
244
245
245
if project. crates . is_empty ( ) {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ impl RustAnalyzerProject {
55
55
/// Parse the exercises folder for .rs files, any matches will create
56
56
/// a new `crate` in rust-project.json which allows rust-analyzer to
57
57
/// treat it like a normal binary
58
- pub fn exercies_to_json ( & mut self ) -> Result < ( ) , Box < dyn Error > > {
58
+ pub fn exercises_to_json ( & mut self ) -> Result < ( ) , Box < dyn Error > > {
59
59
for e in glob ( "./exercises/**/*" ) ? {
60
60
let path = e?. to_string_lossy ( ) . to_string ( ) ;
61
61
self . path_to_json ( path) ;
You can’t perform that action at this time.
0 commit comments