Fix doctest errors in rustdoc comments

Mostly this disables doctest for comments that are not actually tests.
This commit is contained in:
Matt Brubeck 2014-09-17 14:05:21 -07:00
parent 787a683365
commit a939cc50bb
5 changed files with 15 additions and 12 deletions

View file

@ -484,7 +484,7 @@ impl<'a> GlyphInfo<'a> {
/// Simple glyphs are stored inline in the `entry_buffer`, detailed glyphs are
/// stored as pointers into the `detail_store`.
///
/// ~~~
/// ~~~ignore
/// +- GlyphStore --------------------------------+
/// | +---+---+---+---+---+---+---+ |
/// | entry_buffer: | | s | | s | | s | s | | d = detailed