summaryrefslogtreecommitdiff
path: root/src/init.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-07 23:37:40 +0200
committermo8it <mo8it@proton.me>2024-04-07 23:37:40 +0200
commit93f8d1610d293e57fd5002a9755c1f91a31ba891 (patch)
treec0905fef57e8e5279c23422000b0bc2f7ad09166 /src/init.rs
parent99c9ab467b3e57f9dca080a6fe9c1dbd991a3fdb (diff)
Some renamings
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