Remove unused imports from doc examples.

This commit is contained in:
Bauke 2021-09-27 13:49:08 +02:00
parent 4f285142d8
commit 1ae347f2ef
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
//! [as per the spec]: http://opml.org/spec2.opml#1629042198000 //! [as per the spec]: http://opml.org/spec2.opml#1629042198000
//! //!
//! ```rust //! ```rust
//! use opml::{OPML, Outline}; //! use opml::OPML;
//! //!
//! let xml = r#"<opml version="2.0"><head/><body><outline text="Outline"/></body></opml>"#; //! let xml = r#"<opml version="2.0"><head/><body><outline text="Outline"/></body></opml>"#;
//! let document = OPML::from_str(xml).unwrap(); //! let document = OPML::from_str(xml).unwrap();
@ -125,7 +125,7 @@ impl OPML {
/// # Example /// # Example
/// ///
/// ```rust,no_run /// ```rust,no_run
/// use opml::{OPML, Outline}; /// use opml::OPML;
/// use std::fs::File; /// use std::fs::File;
/// ///
/// let mut file = File::open("file.opml").unwrap(); /// let mut file = File::open("file.opml").unwrap();