We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328e105 commit eef5084Copy full SHA for eef5084
tests/ui/question_mark.rs
@@ -53,21 +53,21 @@ impl SomeStruct {
53
54
pub fn func2(&self) -> Option<u32> {
55
let _ = if self.opt.is_none() {
56
- return None;
57
- } else {
58
- self.opt
+ return None;
+ } else {
+ self.opt
59
};
60
61
62
- None
63
64
+ None
65
66
67
68
69
70
- 0
+ 0
71
72
73
self.opt
0 commit comments