1 2 3 4 5
use super::{Logger, OsStr}; pub struct Nothing; impl Logger for Nothing { fn log(&self, _: impl AsRef<OsStr>, _: &[impl AsRef<OsStr>]) {} }
1 2 3 4 5
use super::{Logger, OsStr}; pub struct Nothing; impl Logger for Nothing { fn log(&self, _: impl AsRef<OsStr>, _: &[impl AsRef<OsStr>]) {} }