Replace ```ignore with ```text

Using the `ignore` marker makes `cargo test` think this is rust code
that should be ignored, which means it prints an "ignored" line in the
test output. It also makes `cargo doc --document-private-items` attempt
to colorize it as rust code. Marking this as `text` instead fixes both
issues.
This commit is contained in:
Lily Ballard 2020-12-14 13:11:48 -08:00 committed by GitHub
parent 775aa0fed0
commit b5f211f262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ fn number(input: &str) -> IResult<&str, KdlNodeValue, KdlParseError<&str>> {
))(input)
}
/// ```ignore
/// ```text
/// decimal := integer ('.' [0-9]+)? exponent?
/// exponent := ('e' | 'E') integer
/// integer := sign? [1-9] [0-9_]*
@ -188,7 +188,7 @@ fn float(input: &str) -> IResult<&str, f64, KdlParseError<&str>> {
)(input)
}
/// ```ignore
/// ```text
/// decimal := integer ('.' [0-9]+)? exponent?
/// exponent := ('e' | 'E') integer
/// integer := sign? [1-9] [0-9_]*