Skip to content

Commit

Permalink
docs(lex): Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Apr 15, 2022
1 parent 530db32 commit 2f0d916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clap_lex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl RawArgs {
ArgCursor::new()
}

/// Advance the cursor, returning the next [`ParsedArgs`]
/// Advance the cursor, returning the next [`ParsedArg`]
pub fn next(&self, cursor: &mut ArgCursor) -> Option<ParsedArg<'_>> {
self.next_os(cursor).map(ParsedArg::new)
}
Expand All @@ -186,7 +186,7 @@ impl RawArgs {
next
}

/// Return the next [`ParsedArgs`]
/// Return the next [`ParsedArg`]
pub fn peek(&self, cursor: &ArgCursor) -> Option<ParsedArg<'_>> {
self.peek_os(cursor).map(ParsedArg::new)
}
Expand Down

0 comments on commit 2f0d916

Please sign in to comment.