Skip to content

Instantly share code, notes, and snippets.

View GersiD's full-sized avatar
🏠

Gersi Doko GersiD

🏠
  • University of New Hampshire
  • New Hampshire
  • 12:58 (UTC -04:00)
View GitHub Profile
# this script will generate mod.rs files that let rust-analyzer work
# without `rust-project.json` on the rustlings examples.
import os
import glob
for folder in glob.glob("exercises/*"):
if not os.path.isdir(folder):
continue
with open(os.path.join(folder, "mod.rs"), "w") as f: