Remove non-building doctests (#578)
This commit is contained in:
parent
e3aad995f6
commit
21de99de87
2 changed files with 4 additions and 4 deletions
|
|
@ -172,9 +172,9 @@ extern "C" {
|
|||
#[doc = " the given ranges must be ordered from earliest to latest in the document,"]
|
||||
#[doc = " and they must not overlap. That is, the following must hold for all"]
|
||||
#[doc = " `i` < `length - 1`:"]
|
||||
#[doc = ""]
|
||||
#[doc = " ```text"]
|
||||
#[doc = " ranges[i].end_byte <= ranges[i + 1].start_byte"]
|
||||
#[doc = ""]
|
||||
#[doc = " ```"]
|
||||
#[doc = " If this requirement is not satisfied, the operation will fail, the ranges"]
|
||||
#[doc = " will not be assigned, and this function will return `false`. On success,"]
|
||||
#[doc = " this function returns `true`"]
|
||||
|
|
|
|||
|
|
@ -541,9 +541,9 @@ impl Parser {
|
|||
/// the given ranges must be ordered from earliest to latest in the document,
|
||||
/// and they must not overlap. That is, the following must hold for all
|
||||
/// `i` < `length - 1`:
|
||||
///
|
||||
/// ```text
|
||||
/// ranges[i].end_byte <= ranges[i + 1].start_byte
|
||||
///
|
||||
/// ```
|
||||
/// If this requirement is not satisfied, method will panic.
|
||||
pub fn set_included_ranges<'a>(
|
||||
&mut self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue