File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
//! # async_std::task::block_on(async {
24
24
//! #
25
25
//! use http_types::{Url, Method, Request};
26
- //! use http_types::trailers ::Trailers;
26
+ //! use http_types::transfer ::Trailers;
27
27
//! use http_types::headers::{HeaderName, HeaderValue};
28
28
//! use async_std::task;
29
29
//! use std::str::FromStr;
@@ -80,7 +80,7 @@ impl Trailers {
80
80
/// ```
81
81
/// # fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
82
82
/// #
83
- /// use http_types::trailers ::Trailers;
83
+ /// use http_types::transfer ::Trailers;
84
84
///
85
85
/// let mut trailers = Trailers::new();
86
86
/// trailers.insert("Content-Type", "text/plain");
@@ -105,7 +105,7 @@ impl Trailers {
105
105
/// ```
106
106
/// # fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
107
107
/// #
108
- /// use http_types::trailers ::Trailers;
108
+ /// use http_types::transfer ::Trailers;
109
109
///
110
110
/// let mut trailers = Trailers::new();
111
111
/// trailers.append("Content-Type", "text/plain");
You can’t perform that action at this time.
0 commit comments