Skip to content

Commit dca360e

Browse files
Fix doctests
1 parent 5dfea58 commit dca360e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/transfer/trailers.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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");

0 commit comments

Comments
 (0)