mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Put Cargo.toml in ``
This commit is contained in:
parent
82ebd29ff6
commit
fc141b8dfc
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ pub fn init() -> Result<()> {
|
||||||
bail!("Failed to initialize a new Cargo workspace member.\nPlease initialize Rustlings in a different directory");
|
bail!("Failed to initialize a new Cargo workspace member.\nPlease initialize Rustlings in a different directory");
|
||||||
}
|
}
|
||||||
|
|
||||||
stdout.write_all(b"The directory `rustlings` has been added to `workspace.members` in the Cargo.toml file of this Cargo workspace.\n")?;
|
stdout.write_all(b"The directory `rustlings` has been added to `workspace.members` in the `Cargo.toml` file of this Cargo workspace.\n")?;
|
||||||
fs::remove_dir_all("rustlings")
|
fs::remove_dir_all("rustlings")
|
||||||
.context("Failed to remove the temporary directory `rustlings/`")?;
|
.context("Failed to remove the temporary directory `rustlings/`")?;
|
||||||
init_git = false;
|
init_git = false;
|
||||||
|
|
Loading…
Reference in a new issue