diff options
Diffstat (limited to 'src/description.rs')
-rw-r--r-- | src/description.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/description.rs b/src/description.rs index 31f39f7578c2..48c98d76e051 100644 --- a/src/description.rs +++ b/src/description.rs @@ -69,12 +69,12 @@ mod tests { #[test] fn test_describe_list() { assert_eq!( - describe_list(&vec![Description("one".to_string())]), + describe_list(&[Description("one".to_string())]), "one".to_string() ); assert_eq!( - describe_list(&vec![ + describe_list(&[ Description("one".to_string()), Description("two".to_string()) ]), @@ -82,7 +82,7 @@ mod tests { ); assert_eq!( - describe_list(&vec![ + describe_list(&[ Description("one".to_string()), Description("two".to_string()), Description("three".to_string()) |