Skip to content

Commit

Permalink
Rename a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Mar 31, 2019
1 parent e15ac71 commit a6f9d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ macro_rules! implement {
($kind:ident, $format:expr) => {
impl fmt::$kind for Digest {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
for byte in &self.0 {
try!(write!(formatter, $format, byte));
for value in &self.0 {
try!(write!(formatter, $format, value));
}
Ok(())
}
Expand Down

0 comments on commit a6f9d77

Please sign in to comment.