]> git.lizzy.rs Git - rust.git/commitdiff
Add ignore to doc code
authorMasaki Hara <ackie.h.gmai@gmail.com>
Mon, 11 Feb 2019 07:32:42 +0000 (16:32 +0900)
committerCrLF0710 <crlf0710@gmail.com>
Thu, 4 Apr 2019 18:32:30 +0000 (02:32 +0800)
src/doc/unstable-book/src/library-features/fnbox.md

index 16ebab3abeb501ac006f76a7bc626ad185f15d2b..cb3386b7152112a5953d457b12c36c181f061618 100644 (file)
@@ -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<A, F> FnOnce for Box<F> where F: FnOnce<A> + ?Sized {}
 impl<A, F> FnMut for Box<F> where F: FnMut<A> + ?Sized {}
 impl<A, F> Fn for Box<F> where F: Fn<A> + ?Sized {}
@@ -16,7 +16,7 @@ impl<A, F> Fn for Box<F> where F: Fn<A> + ?Sized {}
 
 The impls are parallel to these (relatively old) impls:
 
-```rust
+```rust,ignore
 impl<A, F> FnOnce for &mut F where F: FnMut<A> + ?Sized {}
 impl<A, F> FnMut for &mut F where F: FnMut<A> + ?Sized {}
 impl<A, F> Fn for &mut F where F: Fn<A> + ?Sized {}