diff --git a/src/lib.rs b/src/lib.rs index 11ea85f..15050f4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -364,7 +364,7 @@ pub fn run(tool: Tool, matches: &ArgMatches) -> Result { let file = artifact .executable .as_ref() - .map_or_else(|| &artifact.filenames[0], |val| val); + .unwrap_or_else(|| &artifact.filenames[0]); match tool { // Tools that don't need a build diff --git a/triagebot.toml b/triagebot.toml deleted file mode 100644 index fa0824a..0000000 --- a/triagebot.toml +++ /dev/null @@ -1 +0,0 @@ -[assign]