types: fix typo when displaying Sha256

Reviewed By: quark-zju

Differential Revision: D20445622

fbshipit-source-id: dc9a8a165ca55fdece90a5eb3a87cd3c28f444cb
This commit is contained in:
Xavier Deguillard 2020-03-13 18:59:57 -07:00 committed by Facebook GitHub Bot
parent 6ee3a8f42f
commit 60be0ac94d

View File

@ -60,7 +60,7 @@ impl Display for Sha256 {
impl Debug for Sha256 {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
write!(fmt, "HgId({:?})", &self.to_hex())
write!(fmt, "Sha256({:?})", &self.to_hex())
}
}