macros: Remove use requirement on try_from::TryFrom.

This commit is contained in:
Emmanuel Gil Peyrot 2018-05-14 16:07:15 +02:00
commit 292cdd059c
20 changed files with 26 additions and 40 deletions

View file

@ -4,8 +4,6 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use try_from::TryFrom;
use minidom::Element;
use error::Error;
@ -33,6 +31,7 @@ generate_element_with_children!(MediaElement, "media", ns::MEDIA_ELEMENT,
#[cfg(test)]
mod tests {
use super::*;
use try_from::TryFrom;
use data_forms::DataForm;
use std::error::Error as StdError;