C L I P P Y

This commit is contained in:
Richard Feldman 2022-04-20 17:06:20 -04:00
parent 729aab21a1
commit 41fafd85fd
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
2 changed files with 2 additions and 2 deletions

View file

@ -557,7 +557,7 @@ fn roc_run(
// If possible, report the generated executable name relative to the current dir.
let generated_filename = binary_path
.strip_prefix(env::current_dir().unwrap())
.unwrap_or(&binary_path);
.unwrap_or(binary_path);
// No need to waste time freeing this memory,
// since the process is about to exit anyway.

View file

@ -46,7 +46,7 @@ fn main() -> io::Result<()> {
Some(arg_index) => {
let roc_file_arg_index = arg_index + 1; // Not sure why this +1 is necessary, but it is!
build(&matches, BuildConfig::BuildAndRun { roc_file_arg_index })
build(matches, BuildConfig::BuildAndRun { roc_file_arg_index })
}
None => {