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 2323//! # async_std::task::block_on(async {
2424//! #
2525//! use http_types::{Url, Method, Request};
26- //! use http_types::trailers ::Trailers;
26+ //! use http_types::transfer ::Trailers;
2727//! use http_types::headers::{HeaderName, HeaderValue};
2828//! use async_std::task;
2929//! use std::str::FromStr;
@@ -80,7 +80,7 @@ impl Trailers {
8080 /// ```
8181 /// # fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
8282 /// #
83- /// use http_types::trailers ::Trailers;
83+ /// use http_types::transfer ::Trailers;
8484 ///
8585 /// let mut trailers = Trailers::new();
8686 /// trailers.insert("Content-Type", "text/plain");
@@ -105,7 +105,7 @@ impl Trailers {
105105 /// ```
106106 /// # fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
107107 /// #
108- /// use http_types::trailers ::Trailers;
108+ /// use http_types::transfer ::Trailers;
109109 ///
110110 /// let mut trailers = Trailers::new();
111111 /// trailers.append("Content-Type", "text/plain");
You can’t perform that action at this time.
0 commit comments