2018-07-28 10:34:52 -05:00
|
|
|
#![feature(tool_lints)]
|
|
|
|
#![warn(clippy::all)]
|
2018-02-15 08:56:12 -06:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let s = Some(String::from("test string")).unwrap_or("Fail".to_string()).len();
|
|
|
|
}
|
2018-02-20 11:37:30 -06:00
|
|
|
|
|
|
|
fn new_lines() {
|
|
|
|
let s = Some(String::from("test string"))
|
|
|
|
.unwrap_or("Fail".to_string())
|
|
|
|
.len();
|
|
|
|
}
|