1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-16 10:51:42 +02:00
This commit is contained in:
mo8it 2024-04-16 03:18:06 +02:00
parent df448c069c
commit c07cf5bffe

View File

@ -20,7 +20,7 @@ pub fn init() -> Result<()> {
.context("Failed to create the file `rustlings/info.toml`")?;
fs::write(
"rustligns/Cargo.toml",
"rustlings/Cargo.toml",
format!("{CARGO_TOML_COMMENT}{}", crate::init::CARGO_TOML_PACKAGE),
)
.context("Failed to create the file `rustlings/Cargo.toml`")?;
@ -32,7 +32,7 @@ pub fn init() -> Result<()> {
.context("Failed to create the file `rustlings/README.md`")?;
create_dir("rustlings/.vscode")
.context("Failed to create the directory `rustligns/.vscode`")?;
.context("Failed to create the directory `rustlings/.vscode`")?;
fs::write(
"rustlings/.vscode/extensions.json",
crate::init::VS_CODE_EXTENSIONS_JSON,