mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-08 22:33:22 +00:00
chore(lint): clippy rules redundant_clone (#2554)
This commit is contained in:
@@ -126,13 +126,7 @@ fn main() -> Result<(), AnyError> {
|
||||
Err(_) => "flatc".to_string(),
|
||||
};
|
||||
|
||||
match compile_flatbuffers_models(
|
||||
&mut generated_mod_rs,
|
||||
&flatc_path,
|
||||
proto_dir.clone(),
|
||||
flatbuffer_out_dir.clone(),
|
||||
vec!["models"],
|
||||
) {
|
||||
match compile_flatbuffers_models(&mut generated_mod_rs, &flatc_path, proto_dir, flatbuffer_out_dir, vec!["models"]) {
|
||||
Ok(_) => {
|
||||
println!("Successfully compiled flatbuffers models.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user