Commit ddce5a9 1 parent b32fb04 commit ddce5a9 Copy full SHA for ddce5a9
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl Memflow {
42
42
// then insert vm_name value as 'name' connector args
43
43
if init_params. common . is_some ( ) {
44
44
create_connector_args =
45
- create_connector_args. insert ( "name" , & * init_params. common . unwrap ( ) . vm_name ) ;
45
+ create_connector_args. insert ( "name" , & init_params. common . unwrap ( ) . vm_name ) ;
46
46
}
47
47
}
48
48
_ => { }
@@ -54,7 +54,7 @@ impl Memflow {
54
54
// for each string, split at '=' to get key, value
55
55
for s in args. iter ( ) {
56
56
let ( key, value) = s
57
- . split_once ( "=" )
57
+ . split_once ( '=' )
58
58
. ok_or_else ( || MemflowDriverError :: InvalidConnectorArgument ( s. clone ( ) ) ) ?;
59
59
// push it into memflow ConnectorArgs type
60
60
create_connector_args = create_connector_args. insert ( key, value) ;
You can’t perform that action at this time.
0 commit comments