Update to edition 2018
This commit is contained in:
parent
bc4a898c0a
commit
602c7f7ebe
41 changed files with 188 additions and 196 deletions
|
|
@ -4,10 +4,10 @@ use std::ffi::OsStr;
|
|||
use std::fmt;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use command_runner::CommandRunner;
|
||||
use symbols::{Action, OwnedSymbolAction, Symbol, SymbolAction, SymbolRunner};
|
||||
use crate::command_runner::CommandRunner;
|
||||
use crate::symbols::{Action, OwnedSymbolAction, Symbol, SymbolAction, SymbolRunner};
|
||||
|
||||
pub struct TlsKey<'a, C: 'a + CommandRunner> {
|
||||
pub struct TlsKey<'a, C: CommandRunner> {
|
||||
domain: Cow<'a, str>,
|
||||
command_runner: &'a C,
|
||||
}
|
||||
|
|
@ -32,7 +32,7 @@ impl<'a, C: CommandRunner> TlsKey<'a, C> {
|
|||
}
|
||||
|
||||
impl<'a, C: CommandRunner> fmt::Display for TlsKey<'a, C> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "TlsKey {}", self.domain)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue