Skip to content

Commit baa12bc

Browse files
author
Tage Johansson
committed
make some code blocks in comments explicitly text so they are not interpretted as Rust doctests
1 parent 2522f24 commit baa12bc

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_borrowck/src/polonius/horatio

1 file changed

+2
-2
lines changed

compiler/rustc_borrowck/src/polonius/horatio/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub(crate) struct PoloniusContext<'a, 'tcx> {
7171
/// d
7272
/// ```
7373
/// In this case we have:
74-
/// ```
74+
/// ```text
7575
/// a: {}
7676
/// b: {a}
7777
/// c: {a}
@@ -89,7 +89,7 @@ pub(crate) struct PoloniusContext<'a, 'tcx> {
8989
/// d
9090
/// ```
9191
/// In this case we have:
92-
/// ```
92+
/// ```text
9393
/// a: {}
9494
/// b: {a}
9595
/// c: {a}

0 commit comments

Comments
 (0)