diff --git a/src/zones/preprocessor.pest b/src/zones/preprocessor.pest index be9a4e1..44056d4 100644 --- a/src/zones/preprocessor.pest +++ b/src/zones/preprocessor.pest @@ -1,8 +1,7 @@ -/// DNS Zone file parsing (pre-processor) -/// -/// Due to the rules around braces we preprocess the file, -/// and write out something easier to parse. +//! DNS Zone file parsing (pre-processor) +// Due to the rules around braces we preprocess the file, +// and write out something easier to parse. comment = { ";" ~ (!NEWLINE ~ ANY)* } open = { "(" } diff --git a/src/zones/zones.pest b/src/zones/zones.pest index 0aa80af..c8bdf7a 100644 --- a/src/zones/zones.pest +++ b/src/zones/zones.pest @@ -1,16 +1,16 @@ -/// DNS Zone file parsing -/// -/// Format is defined in rfc1035 Section 5, extended rfc2308 Section 4. -/// -/// [] -/// [] -/// ``` -/// -/// contents take one of the following forms: -/// ```text -/// [] [] -/// [] [] -/// ``` +//! DNS Zone file parsing + +// Format is defined in rfc1035 Section 5, extended rfc2308 Section 4. +// +// [] +// [] +// ``` +// +// contents take one of the following forms: +// ```text +// [] [] +// [] [] +// ``` // We use explict WHITESPACE to ensure there is whitespace between matching tokens // as opposed to optional WHITESPACE.