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 @@ -54,7 +54,7 @@ impl RustAnalyzerProject {
54
54
/// Parse the exercises folder for .rs files, any matches will create
55
55
/// a new `crate` in rust-project.json which allows rust-analyzer to
56
56
/// treat it like a normal binary
57
- pub fn exercies_to_json ( & mut self ) -> Result < ( ) , Box < dyn Error > > {
57
+ pub fn exercises_to_json ( & mut self ) -> Result < ( ) , Box < dyn Error > > {
58
58
for e in glob ( "./exercises/**/*" ) ? {
59
59
let path = e?. to_string_lossy ( ) . to_string ( ) ;
60
60
self . path_to_json ( path) ;
You can’t perform that action at this time.
0 commit comments