Commit 31d9bb97 authored by Simon Sapin's avatar Simon Sapin
Browse files

rust: Reformat source code

This fixes test-check-rust-format.t which is currently failing
on the default branch.

Differential Revision: https://phab.mercurial-scm.org/D11657
parent 5e77bdc29d56
......@@ -76,7 +76,8 @@ impl Revlog {
Some(index_mmap) => {
let version = get_version(&index_mmap)?;
if version != 1 {
// A proper new version should have had a repo/store requirement.
// A proper new version should have had a repo/store
// requirement.
return Err(HgError::corrupted("corrupted revlog"));
}
......@@ -428,6 +429,6 @@ mod tests {
.with_version(1)
.build();
assert_eq!(get_version(&bytes).map_err(|_err|()), Ok(1))
assert_eq!(get_version(&bytes).map_err(|_err| ()), Ok(1))
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment