aboutsummaryrefslogtreecommitdiff
path: root/src/multi/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/multi/mod.rs')
-rw-r--r--src/multi/mod.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/multi/mod.rs b/src/multi/mod.rs
index 9f72888..a119134 100644
--- a/src/multi/mod.rs
+++ b/src/multi/mod.rs
@@ -260,7 +260,6 @@ where
/// * `sep` Parses the separator between list elements.
/// * `f` Parses the elements of the list.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
/// use nom::multi::separated_list1;
/// use nom::bytes::complete::tag;
@@ -332,7 +331,6 @@ where
/// * `n` The maximum number of iterations.
/// * `f` The parser to apply.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::ErrorKind, Needed, IResult};
/// use nom::multi::many_m_n;
/// use nom::bytes::complete::tag;
@@ -399,7 +397,6 @@ where
/// # Arguments
/// * `f` The parser to apply.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::ErrorKind, Needed, IResult};
/// use nom::multi::many0_count;
/// use nom::bytes::complete::tag;
@@ -452,7 +449,6 @@ where
/// # Arguments
/// * `f` The parser to apply.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
/// use nom::multi::many1_count;
/// use nom::bytes::complete::tag;
@@ -509,7 +505,6 @@ where
/// * `f` The parser to apply.
/// * `count` How often to apply the parser.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
/// use nom::multi::count;
/// use nom::bytes::complete::tag;
@@ -562,7 +557,6 @@ where
/// * `f` The parser to apply.
/// * `buf` The slice to fill
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
/// use nom::multi::fill;
/// use nom::bytes::complete::tag;
@@ -616,7 +610,6 @@ where
/// * `g` The function that combines a result of `f` with
/// the current accumulator.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::ErrorKind, Needed, IResult};
/// use nom::multi::fold_many0;
/// use nom::bytes::complete::tag;
@@ -687,7 +680,6 @@ where
/// * `g` The function that combines a result of `f` with
/// the current accumulator.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
/// use nom::multi::fold_many1;
/// use nom::bytes::complete::tag;
@@ -768,7 +760,6 @@ where
/// * `g` The function that combines a result of `f` with
/// the current accumulator.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::ErrorKind, Needed, IResult};
/// use nom::multi::fold_many_m_n;
/// use nom::bytes::complete::tag;
@@ -847,7 +838,6 @@ where
/// # Arguments
/// * `f` The parser to apply.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::ErrorKind, Needed, IResult};
/// use nom::number::complete::be_u16;
/// use nom::multi::length_data;
@@ -892,7 +882,6 @@ where
/// * `f` The parser to apply.
/// * `g` The parser to apply on the subslice.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
/// use nom::number::complete::be_u16;
/// use nom::multi::length_value;
@@ -941,7 +930,6 @@ where
/// * `f` The parser to apply to obtain the count.
/// * `g` The parser to apply repeatedly.
/// ```rust
-/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
/// use nom::number::complete::u8;
/// use nom::multi::length_count;