From db25cc91576a05b02edd3754df85eb5668cec83f Mon Sep 17 00:00:00 2001
From: mo8it <mo8it@proton.me>
Date: Sun, 7 Apr 2024 23:54:32 +0200
Subject: [PATCH] Ignore .rustlings-state.json

---
 src/init.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/init.rs b/src/init.rs
index df2d19d8..bc561eaf 100644
--- a/src/init.rs
+++ b/src/init.rs
@@ -36,7 +36,8 @@ publish = false
 }
 
 fn create_gitignore() -> io::Result<()> {
-    let gitignore = b"/target";
+    let gitignore = b"/target
+/.rustlings-state.json";
     OpenOptions::new()
         .create_new(true)
         .write(true)