From ccb8504b7494d7c8ae9bf04e1bd0b40764fc5c8c Mon Sep 17 00:00:00 2001 From: Kremilly Date: Wed, 8 Jan 2025 13:14:16 -0300 Subject: [PATCH] refactor: simplify error handling in complete_path method --- src/core/import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/import.rs b/src/core/import.rs index 225c0e9..e098dea 100644 --- a/src/core/import.rs +++ b/src/core/import.rs @@ -68,7 +68,7 @@ impl Import { } } - fn complete_path(&self) -> Result> { + fn complete_path(&self) -> Result> { let path = Path::new(&self.dump_file_path); if path.is_absolute() {