From aad4744fb751e3e1147f085781323172755d4ef2 Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Mon, 6 Nov 2017 17:43:22 +0100 Subject: [PATCH] Rename `list` to be consistent with `multiple_quoted` --- src/framework/standard/args.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() }