mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Fix doctest errors in rustdoc comments
Mostly this disables doctest for comments that are not actually tests.
This commit is contained in:
parent
787a683365
commit
a939cc50bb
5 changed files with 15 additions and 12 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue