use super::expression::Expression; use super::shell::Shell; use std::fmt::Write; use std::marker::PhantomData; #[derive(Debug)] pub(crate) struct Nothing { shell: PhantomData, } pub(crate) fn empty_shell_script(_s: &S) -> Nothing { Nothing { shell: PhantomData } } impl Expression for Nothing { fn write_shell(&self, _writer: &mut impl Write) -> std::fmt::Result { Ok(()) } }