blob: 134af34a826a41a0194c08b9ec0cd9a098c0242c [file] [log] [blame]
#![warn(clippy::redundant_closure)]
#![no_std]
extern crate alloc;
use alloc::vec;
use alloc::vec::Vec;
fn issue_13895() {
let _: Option<Vec<u8>> = true.then(alloc::vec::Vec::new);
//~^ redundant_closure
}