blob: 8c3ef789697fc062ecc66b62fbca87ae0200892c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// non rustfixable
#![allow(unreachable_code)]
#![allow(dead_code)]
#![warn(clippy::question_mark_used)]
fn other_function() -> Option<i32> {
Some(32)
}
fn my_function() -> Option<i32> {
other_function()?;
None
}
fn main() {}
|