Skip to content

Commit

Permalink
separated_list, separated_nonempty_list: Document arguments in order
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk authored and Geal committed Jun 22, 2019
1 parent 608aa8f commit fd8acd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/multi/mod.rs
Expand Up @@ -204,8 +204,8 @@ where
/// Alternates between two parsers to produce
/// a list of elements.
/// # Arguments
/// * `f` Parses the elements of the list.
/// * `sep` Parses the separator between list elements.
/// * `f` Parses the elements of the list.
///
/// ```rust
/// # use nom::{Err, error::ErrorKind, Needed, IResult};
Expand Down Expand Up @@ -291,8 +291,8 @@ where
/// a list of elements. Fails if the element
/// parser does not produce at least one element.
/// # Arguments
/// * `f` Parses the elements of the list.
/// * `sep` Parses the separator between list elements.
/// * `f` Parses the elements of the list.
/// ```rust
/// # #[macro_use] extern crate nom;
/// # use nom::{Err, error::ErrorKind, Needed, IResult};
Expand Down

0 comments on commit fd8acd3

Please sign in to comment.