1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00

Some renamings

This commit is contained in:
mo8it
2024-04-07 23:37:40 +02:00
parent 99c9ab467b
commit 93f8d1610d
3 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@ fn create_vscode_dir() -> Result<()> {
Ok(())
}
pub fn init_rustlings(exercises: &[Exercise]) -> Result<()> {
pub fn init(exercises: &[Exercise]) -> Result<()> {
if Path::new("exercises").is_dir() && Path::new("Cargo.toml").is_file() {
bail!(
"A directory with the name `exercises` and a file with the name `Cargo.toml` already exist