Skip to content

Commit

Permalink
ring_buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
enjhnsn2 committed Oct 2, 2024
1 parent 7793ebb commit 6841867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/src/collections/ring_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl<'a, T: Copy> RingBuffer<'a, T> {
}
}

#[flux_rs::sig(fn(&RingBuffer<T>[@ring_len, @hd, @tl]) -> usize[ring_len]) ]
#[flux_rs::sig(fn(&RingBuffer<T>[@rb]) -> usize[rb.ring_len]) ]
fn ring_len(&self) -> usize {
self.ring.len()
}
Expand Down

0 comments on commit 6841867

Please sign in to comment.