We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustlings_dir
1 parent 9011d34 commit 8738518Copy full SHA for 8738518
1 file changed
src/init.rs
@@ -107,7 +107,7 @@ pub fn init() -> Result<()> {
107
}
108
109
stdout.write_all(b"The directory `rustlings` has been added to `workspace.members` in the `Cargo.toml` file of this Cargo workspace.\n")?;
110
- fs::remove_dir_all("rustlings")
+ fs::remove_dir_all(rustlings_dir)
111
.context("Failed to remove the temporary directory `rustlings/`")?;
112
init_git = false;
113
} else {
0 commit comments