mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Merge branch 'println' into 'master'
Remove debug println in transport.rs See merge request !27
This commit is contained in:
commit
cc2f47108d
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> {
|
||||
println!("SENT: {:?}", element);
|
||||
Ok(element.write_to(&mut self.writer)?)
|
||||
}
|
||||
|
||||
fn read_element(&mut self) -> Result<minidom::Element, Error> {
|
||||
let element = minidom::Element::from_reader(&mut self.reader)?;
|
||||
println!("RECV: {:?}", element);
|
||||
Ok(element)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue