fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass
This commit is contained in:
parent
da7f1d6c45
commit
fb726197ea
28 changed files with 109 additions and 90 deletions
|
|
@ -43,6 +43,7 @@ pub enum JournalOutput {
|
|||
|
||||
impl JournalOutput {
|
||||
/// The string journalctl expects after `--output=`.
|
||||
#[must_use]
|
||||
pub fn as_journalctl(self) -> &'static str {
|
||||
match self {
|
||||
JournalOutput::Short => "short",
|
||||
|
|
|
|||
Loading…
Reference in a new issue