summaryrefslogtreecommitdiff
path: root/src/protocol/http.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/http.rs')
-rw-r--r--src/protocol/http.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol/http.rs b/src/protocol/http.rs
index b7abccc..289b915 100644
--- a/src/protocol/http.rs
+++ b/src/protocol/http.rs
@@ -15,7 +15,8 @@ impl HTTP_MESSAGE {
}
}
-impl Decode<HTTP_MESSAGE> for HTTP_MESSAGE {
+impl Decode for HTTP_MESSAGE {
+ type Iterm = HTTP_MESSAGE;
fn decode(input: &[u8]) -> IResult<&[u8], HTTP_MESSAGE> {
let message = HTTP_MESSAGE::new();
// TODO