Skip to content

Commit 5c1043a

Browse files
committed
Fix diagram for DebruijnIndex
1 parent 15349ef commit 5c1043a

File tree

1 file changed

+7
-7
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+7
-7
lines changed

compiler/rustc_middle/src/ty/sty.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -1233,13 +1233,13 @@ rustc_index::newtype_index! {
12331233
/// particular, imagine a type like this:
12341234
///
12351235
/// for<'a> fn(for<'b> fn(&'b isize, &'a isize), &'a char)
1236-
/// ^ ^ | | |
1237-
/// | | | | |
1238-
/// | +------------+ 0 | |
1239-
/// | | |
1240-
/// +--------------------------------+ 1 |
1241-
/// | |
1242-
/// +------------------------------------------+ 0
1236+
/// ^ ^ | | |
1237+
/// | | | | |
1238+
/// | +------------+ 0 | |
1239+
/// | | |
1240+
/// +----------------------------------+ 1 |
1241+
/// | |
1242+
/// +----------------------------------------------+ 0
12431243
///
12441244
/// In this type, there are two binders (the outer fn and the inner
12451245
/// fn). We need to be able to determine, for any given region, which

0 commit comments

Comments
 (0)