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 {
7474}
7575
7676/// Tries to find the innermost closure:
77- /// ```rust
77+ /// ```rust,ignore
7878/// (|| || || || 42)()()()()
7979/// ^^^^^^^^^^^^^^ given this nested closure expression
8080/// ^^^^^ we want to return this closure
@@ -110,10 +110,10 @@ fn find_innermost_closure<'tcx>(
110110}
111111
112112/// "Walks up" the chain of calls to find the outermost call expression, and returns the depth:
113- /// ```rust
113+ /// ```rust,ignore
114114/// (|| || || 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)
117117/// ```
118118fn get_parent_call_exprs < ' tcx > (
119119 cx : & LateContext < ' tcx > ,
You can’t perform that action at this time.
0 commit comments