mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
Put Cargo.toml in ``
This commit is contained in:
parent
82ebd29ff6
commit
fc141b8dfc
|
@ -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