From 9d3e0824a0966c648e951e5928c241700ee931fb Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 31 Mar 2021 13:19:55 -0600 Subject: "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 --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') 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() ), ); -- cgit v1.2.3