Skip to content

Commit 4711982

Browse files
committedJun 23, 2017
Removed as many "```ignore" as possible.
Replaced by adding extra imports, adding hidden code (`# ...`), modifying examples to be runnable (sorry Homura), specifying non-Rust code, and converting to should_panic, no_run, or compile_fail. Remaining "```ignore"s received an explanation why they are being ignored.
1 parent 7379620 commit 4711982

File tree

45 files changed

+458
-231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+458
-231
lines changed
 

‎src/liballoc/boxed.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@
4242
//! Recursive structures must be boxed, because if the definition of `Cons`
4343
//! looked like this:
4444
//!
45-
//! ```rust,ignore
45+
//! ```compile_fail,E0072
46+
//! # enum List<T> {
4647
//! Cons(T, List<T>),
48+
//! # }
4749
//! ```
4850
//!
4951
//! It wouldn't work. This is because the size of a `List` depends on how many

‎src/liballoc/fmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
//! There are a number of related macros in the `format!` family. The ones that
231231
//! are currently implemented are:
232232
//!
233-
//! ```ignore
233+
//! ```ignore (only-for-syntax-highlight)
234234
//! format! // described above
235235
//! write! // first argument is a &mut io::Write, the destination
236236
//! writeln! // same as write but appends a newline

0 commit comments

Comments
 (0)