style: unused 'a
This commit is contained in:
parent
1b19b2b935
commit
3861096e1d
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ pub enum RequestStatus {
|
||||||
MalformedHTTP,
|
MalformedHTTP,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Request {
|
impl Request {
|
||||||
pub fn parse_stream(stream: TcpStream) -> RequestStatus {
|
pub fn parse_stream(stream: TcpStream) -> RequestStatus {
|
||||||
let reader = BufReader::new(&stream);
|
let reader = BufReader::new(&stream);
|
||||||
let mut lines = reader.lines();
|
let mut lines = reader.lines();
|
||||||
|
|
Loading…
Reference in a new issue