summaryrefslogtreecommitdiffstats
path: root/src/repository/repository.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repository/repository.rs')
-rw-r--r--src/repository/repository.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository/repository.rs b/src/repository/repository.rs
index d5f90f3..9e1dc5c 100644
--- a/src/repository/repository.rs
+++ b/src/repository/repository.rs
@@ -87,7 +87,7 @@ impl Repository {
let mut config = config?;
let patches_before_merge = get_patches(&config)?;
- config.merge(config::File::from_str(&content, config::FileFormat::Toml))
+ config.merge(config::File::from_str(content, config::FileFormat::Toml))
.with_context(|| anyhow!("Loading contents of {}", path.display()))?;
// get the patches that are in the `config` object after the merge