summaryrefslogtreecommitdiffstats
path: root/src/external.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2018-12-07 16:10:52 +0100
committerCanop <cano.petrole@gmail.com>2018-12-07 16:10:52 +0100
commitbae266a94986e65b3fc8db39f83194362df7c591 (patch)
treeccec5d6cff36d758a28deb34a10f7692eb91467b /src/external.rs
parent67d40ef5f62fb3b307180ce38f32f275628c30bd (diff)
parallel BFS search
complete, no depth limitation faster more relevant
Diffstat (limited to 'src/external.rs')
-rw-r--r--src/external.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/external.rs b/src/external.rs
index d06449f..01423ea 100644
--- a/src/external.rs
+++ b/src/external.rs
@@ -23,12 +23,7 @@ impl Launchable {
args: tokens.collect(),
just_print: false,
}),
- None => {
- Err(io::Error::new(
- io::ErrorKind::Other,
- "Empty launch string",
- ))
- }
+ None => Err(io::Error::new(io::ErrorKind::Other, "Empty launch string")),
}
}
pub fn execute(&self) -> io::Result<()> {