### Description Example code that triggers `clippy::unused_peekable` (but ought not to): ```rust fn main() { let mut x = vec![1, 2, 3].into_iter().peekable(); let mut y = std::iter::from_fn(move || { match x.peek() { _ => () } None::<u32> }); y.next(); } ``` [Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=cbae95874ef8c841d6cfc65f117680be) ### Version _No response_ ### Additional Labels _No response_