Skip to content

Commit

Permalink
Make Clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jan 11, 2024
1 parent 8661abd commit 6edb5aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/src/packaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ pub fn new_template(to: &Path) -> Result<()> {
pub fn isolate(path: &Path) -> Result<()> {
let manifest = path.join("Cargo.toml");
let mut file = OpenOptions::new()
.write(true)
.append(true)
.open(&manifest)
.with_context(|| format!("Could not open `{}`", manifest.to_string_lossy()))?;
Expand All @@ -63,7 +62,6 @@ pub fn use_local_packages(path: &Path) -> Result<()> {
let manifest = path.join("Cargo.toml");

let mut file = OpenOptions::new()
.write(true)
.append(true)
.open(&manifest)
.with_context(|| format!("Could not open `{}`", manifest.to_string_lossy()))?;
Expand Down

0 comments on commit 6edb5aa

Please sign in to comment.