···14821482 match provided.get(&package_name) {
14831483 Some(package) if package.source == package_source => {
14841484 // This package has already been provided from this source, return the version
14851485- let version = hexpm::version::Range::new(format!("== {}", &package.version))
14851485+ let version = hexpm::version::Range::new(format!("== {}", package.version))
14861486 .expect("== {version} should be a valid range");
14871487 return Ok(version);
14881488 }
···15741574 }
15751575 let _ = parents.pop();
15761576 // Add the package to the provided packages dictionary
15771577- let version = hexpm::version::Range::new(format!("== {}", &config.version))
15771577+ let version = hexpm::version::Range::new(format!("== {}", config.version))
15781578 .expect("== {version} should be a valid range");
15791579 let _ = provided.insert(
15801580 config.name,
···114114 cli::print_published("package and documentation");
115115 println!(
116116 "\nView your package at https://hex.pm/packages/{}",
117117- &config.name
117117+ config.name
118118 );
119119120120 // Prompt the user to make a git tag if they have not.
···262262 value: TypedExpr::String { value, .. },
263263 ..
264264 }) => {
265265- let default_argument = format!("Hello from {}!", &package_name);
265265+ let default_argument = format!("Hello from {}!", package_name);
266266 value == &default_argument
267267 }
268268 _ => false,
···339339 println!(
340340 "The repository configuration in your `gleam.toml` file does not appear to be
341341valid, {} returned status {}",
342342- &url,
342342+ url,
343343 response.status()
344344 );
345345 let should_publish = i_am_sure || cli::confirm("\nDo you wish to continue?")?;