Remove debug println in transport.rs

This commit is contained in:
Maxime “pep” Buquet 2017-06-12 22:22:43 +01:00
parent 0dddceee19
commit 82bb3089e1

View file

@ -64,13 +64,11 @@ impl Transport for PlainTransport {
} }
fn write_element(&mut self, element: &minidom::Element) -> Result<(), Error> { fn write_element(&mut self, element: &minidom::Element) -> Result<(), Error> {
println!("SENT: {:?}", element);
Ok(element.write_to(&mut self.writer)?) Ok(element.write_to(&mut self.writer)?)
} }
fn read_element(&mut self) -> Result<minidom::Element, Error> { fn read_element(&mut self) -> Result<minidom::Element, Error> {
let element = minidom::Element::from_reader(&mut self.reader)?; let element = minidom::Element::from_reader(&mut self.reader)?;
println!("RECV: {:?}", element);
Ok(element) Ok(element)
} }