Skip to content

Commit e7622de

Browse files
committed
[CHORE] Fix Clippy Again
1 parent e777f01 commit e7622de

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

owmods_cli/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ async fn run_from_cli(cli: BaseCli) -> Result<()> {
164164
local_mod.manifest.name,
165165
local_mod.manifest.version,
166166
local_mod.manifest.author,
167-
&local_mod.manifest.unique_name.to_string().bold()
167+
local_mod.manifest.unique_name.to_string().bold()
168168
);
169169
}
170-
info!("{}", &output);
170+
info!("{output}");
171171
}
172172
Some(ModListTypes::Remote) => {
173173
let db = RemoteDatabase::fetch(&config.database_url).await?;
@@ -186,10 +186,10 @@ async fn run_from_cli(cli: BaseCli) -> Result<()> {
186186
.author_display
187187
.as_ref()
188188
.unwrap_or(&remote_mod.author),
189-
&remote_mod.unique_name.to_string().bold()
189+
remote_mod.unique_name.to_string().bold()
190190
)
191191
}
192-
info!("{}", &output);
192+
info!("{output}");
193193
}
194194
},
195195
Commands::Tags => {

owmods_gui/backend/src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub async fn get_local_mod(
180180
if unique_name == OWML_UNIQUE_NAME {
181181
let config = state.config.read().await;
182182
let owml = LocalDatabase::get_owml(&config.owml_path)
183-
.with_context(|| format!("Couldn't Find OWML at path {}", &config.owml_path))?;
183+
.with_context(|| format!("Couldn't Find OWML at path {}", config.owml_path))?;
184184
Ok(Some(UnsafeLocalMod::Valid(Box::new(owml))))
185185
} else {
186186
Ok(state

0 commit comments

Comments
 (0)