From 6841867317bc34641c0895cd882bb5f8e017c7bb Mon Sep 17 00:00:00 2001 From: Evan Johnson Date: Wed, 2 Oct 2024 14:46:42 -0700 Subject: [PATCH] ring_buffer --- kernel/src/collections/ring_buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/collections/ring_buffer.rs b/kernel/src/collections/ring_buffer.rs index 99572626d4..dea50c2b50 100644 --- a/kernel/src/collections/ring_buffer.rs +++ b/kernel/src/collections/ring_buffer.rs @@ -38,7 +38,7 @@ impl<'a, T: Copy> RingBuffer<'a, T> { } } - #[flux_rs::sig(fn(&RingBuffer[@ring_len, @hd, @tl]) -> usize[ring_len]) ] + #[flux_rs::sig(fn(&RingBuffer[@rb]) -> usize[rb.ring_len]) ] fn ring_len(&self) -> usize { self.ring.len() }