diff --git a/README.md b/README.md index ae44dd8..7419a62 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ loop { reader.consume(offset); }, Err(PcapError::Eof) => break, - Err(PcapError::Incomplete) => { + Err(PcapError::Incomplete(_)) => { reader.refill().unwrap(); }, Err(e) => panic!("error while reading: {:?}", e),