mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-03 16:53:30 +02:00
Use the parsed exercises instead of glob
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ fn main() -> Result<()> {
|
||||
Subcommands::Lsp => {
|
||||
let mut project = RustAnalyzerProject::build()?;
|
||||
project
|
||||
.exercises_to_json()
|
||||
.exercises_to_json(exercises)
|
||||
.expect("Couldn't parse rustlings exercises files");
|
||||
|
||||
if project.crates.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user