File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1+ //! Link header and types.
2+
13use std:: fmt;
24use std:: borrow:: Cow ;
35use std:: str:: FromStr ;
@@ -58,7 +60,7 @@ use {Header, Raw};
5860/// # Examples
5961///
6062/// ```
61- /// use headers::{Headers, Link, LinkValue, RelationType};
63+ /// use headers::{Headers, link::{ Link, LinkValue, RelationType} };
6264///
6365/// let link_value = LinkValue::new("http://example.com/TheBook/chapter2")
6466/// .push_rel(RelationType::Previous)
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ pub use self::if_range::IfRange;
4545pub use self :: if_unmodified_since:: IfUnmodifiedSince ;
4646//pub use self::last_event_id::LastEventId;
4747pub use self :: last_modified:: LastModified ;
48- pub use self :: link:: { Link , LinkValue , RelationType , MediaDesc } ;
4948pub use self :: location:: Location ;
5049pub use self :: origin:: Origin ;
5150pub use self :: pragma:: Pragma ;
@@ -165,7 +164,7 @@ mod if_range;
165164mod if_unmodified_since;
166165//mod last_event_id;
167166mod last_modified;
168- mod link;
167+ pub mod link;
169168mod location;
170169mod origin;
171170mod pragma;
You can’t perform that action at this time.
0 commit comments