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

@ -33,8 +33,7 @@ pub fn is_whitespace(s: &str) -> bool {
/// A "space character" according to:
///
/// http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#
/// space-character
/// http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character
pub static HTML_SPACE_CHARACTERS: StaticCharVec = &[
'\u0020',
'\u0009',