aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-31 13:19:55 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-31 13:19:55 -0600
commit9d3e0824a0966c648e951e5928c241700ee931fb (patch)
treeb97a8a68329ac2d8bd75f9eb24d6f59b4835c539 /src/main.rs
parent42bdec6488da15a12f2324526bf81abd389f2b4d (diff)
downloadmakers-9d3e0824a0966c648e951e5928c241700ee931fb.tar.gz
makers-9d3e0824a0966c648e951e5928c241700ee931fb.zip
"im not owned! im not owned!!", i continue to insist as i allocate and transform into a String
https://twitter.com/dril_rs/status/1035032121860009984
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()
),
);