diff options
| author | Edward Barnard | 2015-12-30 17:17:01 +0100 | 
|---|---|---|
| committer | Edward Barnard | 2015-12-30 17:17:01 +0100 | 
| commit | 240d0ceeb7fa6d961dcae0cd3fe1682bb3bed891 (patch) | |
| tree | 175523b341b36c82832d8a7b0203f2ae3e91171b | |
| parent | 168a0ddf125fdd911a2bddf9600a440d682df2f2 (diff) | |
| download | rust-plist-240d0ceeb7fa6d961dcae0cd3fe1682bb3bed891.tar.bz2 | |
Renaming
| -rw-r--r-- | src/xml/writer.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/xml/writer.rs b/src/xml/writer.rs index 148d9ad..2442658 100644 --- a/src/xml/writer.rs +++ b/src/xml/writer.rs @@ -7,7 +7,7 @@ use xml_rs::namespace::Namespace;  use xml_rs::writer::{EventWriter as XmlEventWriter, EmitterConfig};  use xml_rs::writer::events::XmlEvent as WriteXmlEvent; -use {Error, EventWriter as EventWriterTrait, PlistEvent, Result}; +use {Error, EventWriter as PlistEventWriter, PlistEvent, Result};  enum Element {      Dictionary(DictionaryState), @@ -86,11 +86,11 @@ impl<W: Write> EventWriter<W> {      }      pub fn write(&mut self, event: &PlistEvent) -> Result<()> { -        <Self as EventWriterTrait>::write(self, event) +        <Self as PlistEventWriter>::write(self, event)      }  } -impl<W: Write> EventWriterTrait for EventWriter<W> { +impl<W: Write> PlistEventWriter for EventWriter<W> {      fn write(&mut self, event: &PlistEvent) -> Result<()> {          match self.stack.pop() {              Some(Element::Dictionary(DictionaryState::ExpectKey)) => { | 
