src: fix formatting

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-10-24 14:05:20 +05:30
parent c45bf34eb2
commit 1cfed92f85
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -113,8 +113,8 @@ fn freeze_repos(dir: &str) -> anyhow::Result<()> {
}
fn thaw_repos(dir: &str, lockfile: &str) -> anyhow::Result<()> {
let lockfile =
fs::read_to_string(lockfile).unwrap_or_else(|_| panic!("unable to read lockfile from {}", lockfile));
let lockfile = fs::read_to_string(lockfile)
.unwrap_or_else(|_| panic!("unable to read lockfile from {}", lockfile));
let repos: HashMap<String, PersistableRepo> = toml::from_str(&lockfile)?;
for (name, repo) in repos {