File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -149,17 +149,19 @@ enum Commands {
149
149
}
150
150
151
151
#[ derive( clap:: Subcommand , Debug ) ]
152
+ #[ allow( clippy:: large_enum_variant) ]
152
153
enum ConfigArg {
153
154
/// Print the current config
154
155
Get ,
155
156
/// Print the path to the current config file
156
157
Which ,
157
158
/// Manage VM-specific setting
158
159
#[ clap( subcommand) ]
159
- Vm ( Box < VmConfig > ) ,
160
+ Vm ( VmConfig ) ,
160
161
}
161
162
162
163
#[ derive( clap:: Subcommand , Debug ) ]
164
+ #[ allow( clippy:: large_enum_variant) ]
163
165
enum VmConfig {
164
166
/// Create or edit a VM config
165
167
Set {
@@ -218,7 +220,7 @@ async fn main() -> Result<()> {
218
220
) ;
219
221
Ok ( ( ) )
220
222
}
221
- ConfigArg :: Vm ( vm_config) => match * vm_config {
223
+ ConfigArg :: Vm ( vm_config) => match vm_config {
222
224
VmConfig :: Set {
223
225
vm,
224
226
config : vm_config,
You can’t perform that action at this time.
0 commit comments