Skip to content
This repository was archived by the owner on Jul 22, 2019. It is now read-only.

Commit 5b87dba

Browse files
committed
Import all the types where it makes sense
1 parent bc2957f commit 5b87dba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/parser.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ use nom::{self, IResult};
22

33
use std::str;
44

5-
use types::{Address, AttributeValue, Envelope, MailboxDatum};
6-
use types::{RequestId, Response, ResponseCode, Status};
5+
use types::*;
76

87

98
fn crlf(c: u8) -> bool {
@@ -533,7 +532,8 @@ pub fn parse_response(msg: &[u8]) -> ParseResult {
533532

534533
#[cfg(test)]
535534
mod tests {
536-
use super::{IResult, parse_response, Response, ResponseCode, Status};
535+
use types::*;
536+
use super::{IResult, parse_response};
537537

538538
#[test]
539539
fn test_number_overflow() {

0 commit comments

Comments
 (0)