Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
2025-06-22 03:54:44 +01:00
16 changed files with 539 additions and 440 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ pub fn tool_libcreate() {
_ => panic!("Invalid project type"),
};
let path = format!("{}/{}.dsa", project_path, project_name);
let path = format!("{project_path}/{project_name}.dsa");
std::fs::write(path, template).expect("Unable to write file");
}
+1 -1
View File
@@ -3,7 +3,7 @@ pub mod logging;
use std::io::Write;
pub fn input(prompt: &str) -> String {
print!("{}\n > ", prompt);
print!("{prompt}\n > ");
std::io::stdout().flush().unwrap();
let mut input = String::new();
std::io::stdin().read_line(&mut input).unwrap();