Merge branch 'println' into 'master'

Remove debug println in transport.rs

See merge request !27
This commit is contained in:
lumi 2017-06-15 15:40:49 +00:00
commit cc2f47108d

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)
} }