mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
Fix typo
This commit is contained in:
parent
df448c069c
commit
c07cf5bffe
|
@ -20,7 +20,7 @@ pub fn init() -> Result<()> {
|
||||||
.context("Failed to create the file `rustlings/info.toml`")?;
|
.context("Failed to create the file `rustlings/info.toml`")?;
|
||||||
|
|
||||||
fs::write(
|
fs::write(
|
||||||
"rustligns/Cargo.toml",
|
"rustlings/Cargo.toml",
|
||||||
format!("{CARGO_TOML_COMMENT}{}", crate::init::CARGO_TOML_PACKAGE),
|
format!("{CARGO_TOML_COMMENT}{}", crate::init::CARGO_TOML_PACKAGE),
|
||||||
)
|
)
|
||||||
.context("Failed to create the file `rustlings/Cargo.toml`")?;
|
.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`")?;
|
.context("Failed to create the file `rustlings/README.md`")?;
|
||||||
|
|
||||||
create_dir("rustlings/.vscode")
|
create_dir("rustlings/.vscode")
|
||||||
.context("Failed to create the directory `rustligns/.vscode`")?;
|
.context("Failed to create the directory `rustlings/.vscode`")?;
|
||||||
fs::write(
|
fs::write(
|
||||||
"rustlings/.vscode/extensions.json",
|
"rustlings/.vscode/extensions.json",
|
||||||
crate::init::VS_CODE_EXTENSIONS_JSON,
|
crate::init::VS_CODE_EXTENSIONS_JSON,
|
||||||
|
|
Loading…
Reference in a new issue