diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-05-03 02:37:02 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-05-03 03:29:42 +0200 |
commit | 899951742100b83743ef9f65fbb161454ef4bfa7 (patch) | |
tree | c3615dcf02e89d67d6151f4b9fb27e76e9f5cba6 /cli/ops.rs | |
parent | e4354ce73984668d7a057e1b6f591dd566209369 (diff) |
core,cli: fix clippy warnings
Diffstat (limited to 'cli/ops.rs')
-rw-r--r-- | cli/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops.rs b/cli/ops.rs index c49ce517c..4c644714f 100644 --- a/cli/ops.rs +++ b/cli/ops.rs @@ -468,7 +468,7 @@ fn op_compiler_config( let builder = &mut FlatBufferBuilder::new(); let (path, out) = match get_compiler_config(state, compiler_type) { Some(val) => val, - _ => ("".to_owned(), "".as_bytes().to_owned()), + _ => ("".to_owned(), vec![]), }; let data_off = builder.create_vector(&out); let msg_args = msg::CompilerConfigResArgs { |