summaryrefslogtreecommitdiff
path: root/src/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.rs')
-rw-r--r--src/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.rs b/src/init.rs
index 6af3235..df2d19d 100644
--- a/src/init.rs
+++ b/src/init.rs
@@ -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