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;
@ -21,6 +19,7 @@ generate_element_with_only_attributes!(Received, "received", ns::RECEIPTS, [
#[cfg(test)]
mod tests {
use super::*;
use try_from::TryFrom;
#[test]
fn test_simple() {