Coding style

This commit is contained in:
Adrian Heine 2020-08-06 17:38:59 +02:00
parent 25ab1ebf97
commit 67b6f90fe0
2 changed files with 31 additions and 6 deletions

View file

@ -40,7 +40,7 @@ impl<C: CommandRunner, P: AsRef<Path>> Symbol for Key<C, P> {
],
)?;
// FIXME check bytes
Ok(stdout.ends_with("RSA key ok\n".as_bytes()))
Ok(stdout.ends_with(b"RSA key ok\n"))
}
fn execute(&self) -> Result<(), Box<dyn Error>> {