Skip to content

Commit beb3374

Browse files
committed
pacify the mercilous tidy: canonical ignore comments
1 parent f865300 commit beb3374

File tree

1 file changed

+2
-2
lines changed
  • src/librustc/infer/canonical

1 file changed

+2
-2
lines changed

src/librustc/infer/canonical/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,14 @@ impl<'gcx, V> Canonical<'gcx, V> {
200200
///
201201
/// An example of a **correct** use of this:
202202
///
203-
/// ```rust,ignore
203+
/// ```rust,ignore (not real code)
204204
/// let a: Canonical<'_, T> = ...;
205205
/// let b: Canonical<'_, (T,)> = a.unchecked_map(|v| (v, ));
206206
/// ```
207207
///
208208
/// An example of an **incorrect** use of this:
209209
///
210-
/// ```rust,ignore
210+
/// ```rust,ignore (not real code)
211211
/// let a: Canonical<'tcx, T> = ...;
212212
/// let ty: Ty<'tcx> = ...;
213213
/// let b: Canonical<'tcx, (T, Ty<'tcx>)> = a.unchecked_map(|v| (v, ty));

0 commit comments

Comments
 (0)