From 7a63c7f01050cd612787372f7a2ca7a8ec2105bc Mon Sep 17 00:00:00 2001 From: Masaki Hara Date: Mon, 11 Feb 2019 16:32:42 +0900 Subject: [PATCH] Add ignore to doc code --- src/doc/unstable-book/src/library-features/fnbox.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/unstable-book/src/library-features/fnbox.md b/src/doc/unstable-book/src/library-features/fnbox.md index 16ebab3abeb..cb3386b7152 100644 --- a/src/doc/unstable-book/src/library-features/fnbox.md +++ b/src/doc/unstable-book/src/library-features/fnbox.md @@ -8,7 +8,7 @@ The tracking issue for this feature is [#28796] This had been a temporary alternative to the following impls: -```rust +```rust,ignore impl FnOnce for Box where F: FnOnce + ?Sized {} impl FnMut for Box where F: FnMut + ?Sized {} impl Fn for Box where F: Fn + ?Sized {} @@ -16,7 +16,7 @@ impl Fn for Box where F: Fn + ?Sized {} The impls are parallel to these (relatively old) impls: -```rust +```rust,ignore impl FnOnce for &mut F where F: FnMut + ?Sized {} impl FnMut for &mut F where F: FnMut + ?Sized {} impl Fn for &mut F where F: Fn + ?Sized {} -- 2.44.0