News for hackers. Stuff that matters.
Re:A Week with Mozilla's Rust by dbaupp on Thursday August 22, 2013 @01:38AM (#6255334)
Note that that loop function now looks like (the for loop has changed since 0.7):

    fn hexdigest(&self) -> ~str {
      let mut acc = ~"";
      for &byte in self.digest.iter() { 
        acc.push_str(fmt!("%02x", byte as uint));
      }
      acc
    }

There are no comments on this comment yet.