Skip to content

Commit a148156

Browse files
committed
needed changes for ci and clean
1 parent 573abec commit a148156

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/response.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use crate::trailers::{self, Trailers};
1717
use crate::{Body, Extensions, StatusCode, Version};
1818
use crate::upgrade;
1919

20-
#[cfg(not(feature = "unstable"))]
2120
pin_project_lite::pin_project! {
2221
/// An HTTP response.
2322
///
@@ -54,7 +53,6 @@ pin_project_lite::pin_project! {
5453

5554
impl Response {
5655
/// Create a new response.
57-
#[cfg(not(feature = "unstable"))]
5856
pub fn new<S>(status: S) -> Self
5957
where
6058
S: TryInto<StatusCode>,

src/utils/mod.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@ use crate::{Error, Status, StatusCode};
99
use std::cmp::Ordering;
1010
use std::str::FromStr;
1111

12-
/// Declares unstable items.
13-
#[doc(hidden)]
14-
macro_rules! cfg_unstable {
15-
($($item:item)*) => {
16-
$(
17-
#[cfg(feature = "unstable")]
18-
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
19-
$item
20-
)*
21-
}
22-
}
23-
2412
/// Parse a weight of the form `q=0.123`.
2513
pub(crate) fn parse_weight(s: &str) -> crate::Result<f32> {
2614
let mut parts = s.split('=');

0 commit comments

Comments
 (0)