Skip to content

Commit f574d17

Browse files
committed
Merge pull request #20 from mcpherrinm/master
Make Request::new public
2 parents 949e923 + 6f9b84e commit f574d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/handle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ enum BodyType {
107107
}
108108

109109
impl<'a, 'b> Request<'a, 'b> {
110-
fn new<'a, 'b>(handle: &'a mut Handle, method: Method) -> Request<'a, 'b> {
110+
pub fn new<'a, 'b>(handle: &'a mut Handle, method: Method) -> Request<'a, 'b> {
111111
Request {
112112
err: None,
113113
handle: handle,

0 commit comments

Comments
 (0)