Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jan 21, 2024
1 parent d65c825 commit fb5e3ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion taskchampion/taskchampion/src/server/cloud/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,9 @@ impl<SVC: Service> Server for CloudServer<SVC> {
// corresponds to an existing version. In practice, this will always be the version
// just returned from add_version, so just check that.
if Some(version_id) != self.last_version_added {
return Err(Error::Server("Snapshot is not for most recently added version".into()));
return Err(Error::Server(
"Snapshot is not for most recently added version".into(),
));
}
let name = Self::snapshot_name(&version_id);
let sealed = self.cryptor.seal(Unsealed {
Expand Down

0 comments on commit fb5e3ee

Please sign in to comment.