fix: correct import statements and method usage

This commit is contained in:
Andrew Phillips (aider)
2025-05-22 15:49:34 -03:00
parent f0ef529da5
commit af84c332ea
2 changed files with 3 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ pub fn cmd_args_meta_plugin_types(cmd: &mut Command, args: &Args) -> Vec<MetaPlu
.item
.meta_plugins
.clone()
.unwrap_or_else(|| vec![]);
.unwrap_or_default();
let mut meta_plugin_types = Vec::new();
for name in meta_plugin_names {

View File

@@ -13,9 +13,8 @@ use std::path::PathBuf;
use crate::compression_engine::get_compression_engine;
use crate::db::{self};
use crate::digest_engine::get_digest_engine;
use crate::modes::common::{
cmd_args_compression_type, cmd_args_digest_type, cmd_args_meta_plugin_types, get_meta_from_env, store_item_digest_value,
};
use crate::meta_plugin::MetaPluginType;
use crate::modes::common::{cmd_args_compression_type, cmd_args_digest_type, cmd_args_meta_plugin_types, get_meta_from_env, store_item_digest_value};
use chrono::Utc;
pub fn mode_save(