(r: std::ops::Range<u32>)
| 2 | None, Some(22)*/ |
| 3 | fn main() { |
| 4 | fn get_third(r: std::ops::Range<u32>) -> Option<u32> { |
| 5 | if r.len() >= 3 { |
| 6 | Some(r.start + 2) |
| 7 | } else { |
| 8 | None |
| 9 | } |
| 10 | } |
| 11 | print!("{:?}, {:?}", get_third(10..12), get_third(20..29)); |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected