diff --git a/crates/xline/src/storage/revision.rs b/crates/xline/src/storage/revision.rs index 222f6bc39..b5e3bf2b3 100644 --- a/crates/xline/src/storage/revision.rs +++ b/crates/xline/src/storage/revision.rs @@ -68,6 +68,8 @@ impl Revision { } /// Decode `Revision` from `&[u8]` + /// # Panics + /// This function panics if there is not enough remaining data in `buf`. #[must_use] #[inline] pub fn decode(mut buf: &[u8]) -> Self {