From b4b1d279268dc0b6f9e58123783c60c60e3babb8 Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Mon, 22 Jan 2024 16:20:55 +0100 Subject: [PATCH] Update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),