diff --git a/src/framework/standard/args.rs b/src/framework/standard/args.rs index fab27a5c4cc..2a5c1347f2a 100644 --- a/src/framework/standard/args.rs +++ b/src/framework/standard/args.rs @@ -254,9 +254,9 @@ impl Args { /// /// let mut args = Args::new("42 69", vec![" ".to_owned()]); /// - /// assert_eq!(*args.list::().unwrap(), [42, 69]); + /// assert_eq!(*args.multiple::().unwrap(), [42, 69]); /// ``` - pub fn list(mut self) -> Result, T::Err> + pub fn multiple(mut self) -> Result, T::Err> where T::Err: StdError { Iter::::new(&mut self).collect() }