From ad3659cd58d9f6196fb4a0acef6bed480099b7da Mon Sep 17 00:00:00 2001 From: varkor Date: Mon, 18 Feb 2019 22:57:57 +0000 Subject: Ignore Rust snippet --- src/doc/rustc-dev-guide/src/kinds.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/doc/rustc-dev-guide') diff --git a/src/doc/rustc-dev-guide/src/kinds.md b/src/doc/rustc-dev-guide/src/kinds.md index bd483c86837..d5e218c3194 100644 --- a/src/doc/rustc-dev-guide/src/kinds.md +++ b/src/doc/rustc-dev-guide/src/kinds.md @@ -34,7 +34,7 @@ the context is clear). As mentioned earlier, substition lists store raw `Kind`s, so before dealing with them, it is preferable to convert them to `UnpackedKind`s first. This is done by calling the `.unpack()` method. -```rust +```rust,ignore // An example of unpacking and packing a kind. fn deal_with_kind<'tcx>(kind: Kind<'tcx>) -> Kind<'tcx> { // Unpack a raw `Kind` to deal with it safely. -- cgit 1.4.1-3-g733a5