]> git.lizzy.rs Git - rust.git/blob - tests/ui/unwrap_or.rs
Fix: point to correct problem part of code
[rust.git] / tests / ui / unwrap_or.rs
1 #![warn(clippy)]
2
3 fn main() {
4     let s = Some(String::from("test string")).unwrap_or("Fail".to_string()).len();
5 }