1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//! Dummy module use core::fmt; /// Dummy printer pub struct Dummy; impl super::Printer for Dummy { type W = ::destination::Dummy; type M = ::modes::InterruptFree; #[inline] fn destination(&mut self) -> &mut Self::W { unreachable!() } #[inline] fn print(&mut self, _: fmt::Arguments) {} #[inline] fn println(&mut self, _: fmt::Arguments) {} }