Coding style

This commit is contained in:
Adrian Heine 2019-03-01 18:47:47 +01:00
parent cbb5742ac3
commit abb6947853
33 changed files with 79 additions and 151 deletions

View file

@ -13,10 +13,7 @@ pub struct TlsKey<'a, C: 'a + CommandRunner> {
impl<'a, C: CommandRunner> TlsKey<'a, C> {
pub fn new(domain: Cow<'a, str>, command_runner: &'a C) -> Self {
TlsKey {
domain: domain,
command_runner: command_runner
}
TlsKey { domain, command_runner }
}
fn get_path(&self) -> String {