aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index f96d39c..191f4fe 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,11 +45,11 @@ fn main() -> anyhow::Result<()> {
bail!(
"no makefile specified and neither {} nor {} was found.",
current_dir().map_or_else(
- |_| "./makefile".to_string(),
+ |_| "./makefile".to_owned(),
|path| path.join("makefile").display().to_string()
),
current_dir().map_or_else(
- |_| "./Makefile".to_string(),
+ |_| "./Makefile".to_owned(),
|path| path.join("Makefile").display().to_string()
),
);