mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Remove debug println in transport.rs
This commit is contained in:
parent
0dddceee19
commit
82bb3089e1
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue