1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-29 00:41:42 +02:00

Remove state file and solutions dir from .gitignore

This commit is contained in:
mo8it
2024-08-08 00:20:04 +02:00
parent 4933ace50b
commit 97719fe8da
3 changed files with 8 additions and 9 deletions

View File

@ -76,8 +76,8 @@ pub fn new(path: &Path, no_git: bool) -> Result<()> {
pub const GITIGNORE: &[u8] = b".rustlings-state.txt
Cargo.lock
target
.vscode
target/
.vscode/
!.vscode/extensions.json
";

View File

@ -92,11 +92,9 @@ const INIT_SOLUTION_FILE: &[u8] = b"fn main() {
}
";
const GITIGNORE: &[u8] = b".rustlings-state.txt
solutions
Cargo.lock
target
.vscode
const GITIGNORE: &[u8] = b"Cargo.lock
target/
.vscode/
";
pub const VS_CODE_EXTENSIONS_JSON: &[u8] = br#"{"recommendations":["rust-lang.rust-analyzer"]}"#;