Skip to content

Commit

Permalink
Fixed namespace error in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyllingene committed Jan 5, 2024
1 parent 5a76101 commit 9e19316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ macro_rules! sarge {
/// will forward that error. Otherwise, see
/// [`ArgParseError`] for a list of all possible errors.
#[allow(unused)]
pub fn parse() -> std::result::Result<(Self, std::vec::Vec<std::string::String>), ArgParseError> {
pub fn parse() -> std::result::Result<(Self, std::vec::Vec<std::string::String>), $crate::ArgParseError> {

Self::parse_provided(
std::env::args(),
std::env::vars(),
Expand Down

0 comments on commit 9e19316

Please sign in to comment.