#![allow(clippy::extra_unused_lifetimes)]
use circular_buffer::Drain;
use circular_buffer::FixedCircularBuffer;
use circular_buffer::Iter;
#[test]
fn circular_buffer<'a>() {
let buf = FixedCircularBuffer::<&'static str, 1>::new();
let _: FixedCircularBuffer<&'a str, 1> = buf;
}
#[test]
fn iter<'a>() {
let buf = FixedCircularBuffer::<&'static str, 1>::new();
let iter: Iter<'_, &'static str> = buf.iter();
let _: Iter<'_, &'a str> = iter;
}
#[test]
fn drain<'a>() {
let mut buf = FixedCircularBuffer::<&'static str, 1>::new();
let drain: Drain<'_, &'static str> = buf.drain(..);
let _: Drain<'_, &'a str> = drain;
}