cargo fmt

This commit is contained in:
dbr
2021-03-25 17:10:11 +11:00
parent 0e7a4c2c33
commit 6d77b9a319
9 changed files with 43 additions and 18 deletions

View File

@@ -62,7 +62,9 @@ impl TryFrom<ureq::Response> for HistoryCiphertext {
reader.read_to_end(&mut bytes)?;
Ok(Self(bytes))
} else {
Err(anyhow::anyhow!("Response did not have expected content-type"))
Err(anyhow::anyhow!(
"Response did not have expected content-type"
))
}
}
}

View File

@@ -83,7 +83,10 @@ impl Server for RemoteServer {
}
}
fn get_child_version(&mut self, parent_version_id: VersionId) -> anyhow::Result<GetVersionResult> {
fn get_child_version(
&mut self,
parent_version_id: VersionId,
) -> anyhow::Result<GetVersionResult> {
let url = format!(
"{}/client/get-child-version/{}",
self.origin, parent_version_id