File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 => {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments