Skip to content

Commit 570eb8d

Browse files
committed
cargo fmt
1 parent 19b929f commit 570eb8d

File tree

6 files changed

+2
-10
lines changed

6 files changed

+2
-10
lines changed

src/conditional/etag.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use crate::{Error, StatusCode};
33

44
use std::fmt::{self, Debug, Display};
55

6-
76
/// HTTP Entity Tags.
87
///
98
/// ETags provide an ID for a particular resource, enabling clients and servers

src/conditional/if_unmodified_since.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
use crate::headers::{
2-
Header, HeaderName, HeaderValue, Headers, IF_UNMODIFIED_SINCE,
3-
};
1+
use crate::headers::{Header, HeaderName, HeaderValue, Headers, IF_UNMODIFIED_SINCE};
42
use crate::utils::{fmt_http_date, parse_http_date};
53

64
use std::fmt::Debug;

src/content/content_encoding.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ use crate::{
99
use std::fmt::{self, Debug};
1010
use std::ops::{Deref, DerefMut};
1111

12-
1312
/// Specify the compression algorithm.
1413
///
1514
/// # Specifications

src/other/expect.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use crate::{ensure_eq_status, headers::Header};
33

44
use std::fmt::Debug;
55

6-
76
/// HTTP `Expect` header
87
///
98
/// [MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect)

src/security/timing_allow_origin.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
//! # Ok(()) }
2727
//! ```
2828
29-
use crate::headers::{
30-
Header, HeaderName, HeaderValue, Headers, TIMING_ALLOW_ORIGIN,
31-
};
29+
use crate::headers::{Header, HeaderName, HeaderValue, Headers, TIMING_ALLOW_ORIGIN};
3230
use crate::{Status, Url};
3331

3432
use std::fmt::Write;

src/transfer/transfer_encoding.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use crate::transfer::{Encoding, EncodingProposal};
44
use std::fmt::{self, Debug};
55
use std::ops::{Deref, DerefMut};
66

7-
87
/// The form of encoding used to safely transfer the payload body to the user.
98
///
109
/// [MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding)

0 commit comments

Comments
 (0)