diff options
| author | Masaki Hara <ackie.h.gmai@gmail.com> | 2019-02-11 16:32:42 +0900 |
|---|---|---|
| committer | CrLF0710 <crlf0710@gmail.com> | 2019-04-05 02:32:30 +0800 |
| commit | 7a63c7f01050cd612787372f7a2ca7a8ec2105bc (patch) | |
| tree | 19b8beb3ddab667f3003d0b8cf2b6d4815f8bbc3 /src/doc | |
| parent | 440e873a4739e7cb8f6aec0f675ca3796c336e60 (diff) | |
| download | rust-7a63c7f01050cd612787372f7a2ca7a8ec2105bc.tar.gz rust-7a63c7f01050cd612787372f7a2ca7a8ec2105bc.zip | |
Add ignore to doc code
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/library-features/fnbox.md | 4 |
1 files 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<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 {} |
