Remove unused imports from doc examples.
This commit is contained in:
parent
4f285142d8
commit
1ae347f2ef
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue