fix: lifetime notation (#798)

This commit is contained in:
Valerio Ageno
2025-07-19 17:49:49 +02:00
committed by GitHub
parent 5990cf3d27
commit a1f5811eda
12 changed files with 49 additions and 54 deletions
+6
View File
@@ -13,6 +13,12 @@ pub struct TempTuonoProject {
temp_dir: TempDir,
}
impl Default for TempTuonoProject {
fn default() -> Self {
Self::new()
}
}
impl TempTuonoProject {
pub fn new() -> Self {
let original_dir = env::current_dir().expect("Failed to read current_dir");