Skip to content

Commit 62c2a47

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix clippy
1 parent 329401d commit 62c2a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/src/subcommand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ fn list_resources(dsc: &mut DscManager, resource_name: &Option<String>, descript
444444
}
445445
for resource in dsc.list_available_resources(&resource_name.clone().unwrap_or_default()) {
446446
let mut capabilities = "------".to_string();
447-
let capability_types = vec![
447+
let capability_types = [
448448
(Capability::Get, "g"),
449449
(Capability::Set, "s"),
450450
(Capability::SetHandlesExist, "x"),

0 commit comments

Comments
 (0)