1 2 3 4 5 6 7 8 9 10
use super::{Log, Logger};
#[must_use]
pub struct Nothing;
impl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Log
for Logger<'a, Nothing, Prompt, Program, Arguments>
{
fn log(&self) {}
}
1 2 3 4 5 6 7 8 9 10
use super::{Log, Logger};
#[must_use]
pub struct Nothing;
impl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Log
for Logger<'a, Nothing, Prompt, Program, Arguments>
{
fn log(&self) {}
}