Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmnoxx committed Dec 24, 2021
1 parent 0ab839d commit 3304436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/unwrap_or_else_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn unwrap_or_else_default() {
with_default_type.unwrap_or_else(u64::default);

let with_default_type = Some(1);
with_default_type.unwrap_or_else(0u64);
with_default_type.unwrap_or(0u64);
}

fn main() {}

0 comments on commit 3304436

Please sign in to comment.