File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub struct Extensions {
21
21
impl Extensions {
22
22
/// Create an empty `Extensions`.
23
23
#[ inline]
24
- pub ( crate ) fn new ( ) -> Self {
24
+ pub fn new ( ) -> Self {
25
25
Self { map : None }
26
26
}
27
27
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pub struct Headers {
32
32
33
33
impl Headers {
34
34
/// Create a new instance.
35
- pub ( crate ) fn new ( ) -> Self {
35
+ pub fn new ( ) -> Self {
36
36
Self { headers : HashMap :: new ( ) }
37
37
}
38
38
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pub struct Values<'a> {
13
13
14
14
impl < ' a > Values < ' a > {
15
15
/// Constructor for `Headers`.
16
- pub ( crate ) fn new ( inner : hash_map:: Values < ' a , HeaderName , HeaderValues > ) -> Self {
16
+ pub fn new ( inner : hash_map:: Values < ' a , HeaderName , HeaderValues > ) -> Self {
17
17
Self {
18
18
inner : Some ( inner) ,
19
19
slot : None ,
@@ -22,7 +22,7 @@ impl<'a> Values<'a> {
22
22
}
23
23
24
24
/// Constructor for `HeaderValues`.
25
- pub ( crate ) fn new_values ( values : & ' a HeaderValues ) -> Self {
25
+ pub fn new_values ( values : & ' a HeaderValues ) -> Self {
26
26
Self {
27
27
inner : None ,
28
28
slot : Some ( values) ,
You can’t perform that action at this time.
0 commit comments