From 18cccddbb2fc24579b22bdfba37c2772bd05aa86 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 13 May 2024 13:31:33 +0200 Subject: [PATCH] test: fix numf_parser doctest #13 #5 --- src/format.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/format.rs b/src/format.rs index fd24ba6..9f32bbe 100644 --- a/src/format.rs +++ b/src/format.rs @@ -228,12 +228,12 @@ impl Format { /// /// ``` /// use clap::Parser; -/// use numf::parser::numf_parser; +/// use numf::format::numf_parser; /// /// #[derive(Parser)] /// struct Args { -/// #[clap(short, long, value_parser=numf_parser::)] -/// address: u32, +/// #[clap(short, long, value_parser=numf_parser)] +/// address: u128, /// } /// let args = Args::parse_from(&["", "-a", "0x10"]); /// assert_eq!(args.address, 16);