From a95a3c6a32d95ab325bece5e81bb151043108779 Mon Sep 17 00:00:00 2001 From: chenren Date: Fri, 29 Mar 2024 09:10:47 +0800 Subject: [PATCH] fix clippy error --- onvif/src/discovery/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onvif/src/discovery/mod.rs b/onvif/src/discovery/mod.rs index c299adb..b224aba 100644 --- a/onvif/src/discovery/mod.rs +++ b/onvif/src/discovery/mod.rs @@ -481,7 +481,7 @@ mod tests { let our_uuid = "uuid:84ede3de-7dec-11d0-c360-F01234567890"; let bad_uuid = "uuid:84ede3de-7dec-11d0-c360-F00000000000"; - let input = vec![ + let input = [ make_xml(our_uuid, "http://addr_20 http://addr_21 http://addr_22"), make_xml(bad_uuid, "http://addr_30 http://addr_31"), ];