From 9e7d5a0ed81e054243a8e4929947a9b151600468 Mon Sep 17 00:00:00 2001 From: David Weis Date: Fri, 1 Sep 2023 15:53:31 +0000 Subject: [PATCH] Fix comment --- rust/src/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/read.rs b/rust/src/read.rs index 8f99389a55..689375e5a3 100644 --- a/rust/src/read.rs +++ b/rust/src/read.rs @@ -1207,7 +1207,7 @@ mod test { fn test_read_record_from_slice_parses_for_big_enough_records() { let res = read_record_from_slice(&mut [0_u8; 9].as_slice()); assert!(res.is_ok()); - // Not a very strong test, but we're not testing that it parses for buffer size of 10 here + // Not a very strong test, but we are only testing that it checks the buffer size correctly assert!(matches!(res, Ok(Record::Unknown { opcode: _, data: _ }))); } }