File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ fn is_async_closure(body: &hir::Body<'_>) -> bool {
74
74
}
75
75
76
76
/// Tries to find the innermost closure:
77
- /// ```rust
77
+ /// ```rust,ignore
78
78
/// (|| || || || 42)()()()()
79
79
/// ^^^^^^^^^^^^^^ given this nested closure expression
80
80
/// ^^^^^ we want to return this closure
@@ -110,10 +110,10 @@ fn find_innermost_closure<'tcx>(
110
110
}
111
111
112
112
/// "Walks up" the chain of calls to find the outermost call expression, and returns the depth:
113
- /// ```rust
113
+ /// ```rust,ignore
114
114
/// (|| || || 3)()()()
115
- /// ^^ this is the call expression we were given
116
- /// ^^ this is what we want to return (and the depth is 3)
115
+ /// ^^ this is the call expression we were given
116
+ /// ^^ this is what we want to return (and the depth is 3)
117
117
/// ```
118
118
fn get_parent_call_exprs < ' tcx > (
119
119
cx : & LateContext < ' tcx > ,
You can’t perform that action at this time.
0 commit comments